Browse code

use dlsearch instead of search, should improve search for electric-fence

git-svn: trunk@4419

Török Edvin authored on 2008/11/17 04:44:53
Showing 2 changed files
... ...
@@ -1,3 +1,8 @@
1
+Sun Nov 16 20:43:15 EET 2008 (edwin)
2
+------------------------------------
3
+ * unit_tests/efence_tests.sh: use dlsearch instead of search, should
4
+ improve search for electric-fence
5
+
1 6
 Sun Nov 16 17:44:39 EET 2008 (edwin)
2 7
 ------------------------------------
3 8
  * contrib/clamdtop/clamdtop.c: Instead of showing all threads show
... ...
@@ -1,6 +1,6 @@
1 1
 #!/bin/sh
2 2
 # Run under electric-fence
3
-LIBDIRS=`../libtool --config | grep sys_lib_search_path_spec | sed -e 's/.*"\(.*\)"/\1/'`
3
+LIBDIRS=`../libtool --config | grep sys_lib_dlsearch_path_spec | sed -e 's/.*"\(.*\)"/\1/'`
4 4
 if test -z "$LIBEFENCE"; then
5 5
 	for i in $LIBDIRS; do
6 6
 		if test -f "$i/libefence.so"; then