judy/Judy-test-shared.patch

14 lines
484 B
Diff

--- judy-1.0.5.orig/test/Checkit 2007-05-14 21:02:16.000000000 +0400
+++ judy-1.0.5/test/Checkit 2012-09-29 23:32:30.728249410 +0400
@@ -4,8 +4,9 @@
echo
echo "=== +++++++++ This test runs in 15 seconds on a PIII 750Mhz +++++++"
-LIBJUDY=`find ../ -name libJudy.a`
+LIBJUDY=`find ../ -name libJudy.so`
JUDY_H=`find ../ -name Judy.h`
+export LD_LIBRARY_PATH=`dirname $LIBJUDY`
echo "$CC -O SLcompare.c -DHASHMETHOD -o SL_Hash"
$CC -O SLcompare.c -DHASHMETHOD -o SL_Hash