summaryrefslogtreecommitdiff
blob: 632deb1f9b58c28f1bda5e8bfbc7c8d6550070d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- dante-1.1.15-pre1/bin/socksify.in.agriffis	2004-11-04 16:07:04.000000000 -0500
+++ dante-1.1.15-pre1/bin/socksify.in	2004-11-04 16:07:08.977460049 -0500
@@ -60,7 +60,11 @@
 @PRELOAD_VARIABLE@="${LIBRARY}${SOCKSIFY_PRELOAD_LIBS:+${PRELOAD_SEPERATOR}}${SOCKSIFY_PRELOAD_LIBS}${PRELOAD_POSTFIX:+${PRELOAD_SEPERATOR}}${PRELOAD_POSTFIX}"
 export @PRELOAD_VARIABLE@
 
-LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${LD_LIBRARY_PATH:+:}${LIBDIR}"
-export LD_LIBRARY_PATH
+# There is no reason to set LD_LIBRARY_PATH, at least on Linux, where
+# LD_PRELOAD can contain a full path to the library.  Setting the
+# following breaks socksify on Linux/Alpha at least with
+# binutils-2.14.90.0.7-r3 (08 Dec 2003 agriffis)
+#LD_LIBRARY_PATH="${LD_LIBRARY_PATH}${LD_LIBRARY_PATH:+:}${LIBDIR}"
+#export LD_LIBRARY_PATH
 
 exec "$@"