[tor-commits] [torsocks/master] Fix: torsocks.in libdir path with lib prefix

dgoulet at torproject.org dgoulet at torproject.org
Fri Apr 4 22:40:26 UTC 2014


commit a3bcafdca1a157a9f582109bf3d3e00eb26ce555
Author: David Goulet <dgoulet at ev0ke.net>
Date:   Tue Oct 8 19:15:55 2013 -0400

    Fix: torsocks.in libdir path with lib prefix
    
    Fixes #8
    
    Signed-off-by: David Goulet <dgoulet at ev0ke.net>
---
 src/bin/torsocks.in |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/torsocks.in b/src/bin/torsocks.in
index c5519ec..61fb593 100644
--- a/src/bin/torsocks.in
+++ b/src/bin/torsocks.in
@@ -59,7 +59,10 @@
 # Modified by Robert Hogan <robert at roberthogan.net> April 16th 2006
 # Modified by David Goulet <dgoulet at ev0ke.net> 2013
 
-LIBDIR="@prefix@/@libdir@/torsocks"
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+LIBDIR="${libdir}/torsocks"
 LIB_NAME="libtorsocks"
 SHLIB_EXT="@SHLIB_EXT@"
 SHLIB="${LIBDIR}/${LIB_NAME}.${SHLIB_EXT}"





More information about the tor-commits mailing list