summaryrefslogtreecommitdiff
blob: d6a855bda6b853077d903cf20b31c169c9c3b466 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff -u -r libjackasyn-0.13.old/jacklaunch.in libjackasyn-0.13/jacklaunch.in
--- libjackasyn-0.13.old/jacklaunch.in	2007-02-04 14:07:28.000000000 +0100
+++ libjackasyn-0.13/jacklaunch.in	2007-02-04 14:08:17.000000000 +0100
@@ -26,18 +26,20 @@
 
 PREFIX=@prefix@
 
+LIBDIR=@libdir@
+
 LD_PRELOAD_OLD=""
 
 if test "$LD_PRELOAD" != ""
 then
  LD_PRELOAD_OLD=$LD_PRELOAD
- PRELOAD=$LD_PRELOAD:$PREFIX/lib/libjackasyn.so.0
+ PRELOAD=$LD_PRELOAD:$LIBDIR/libjackasyn.so.0
 else
- PRELOAD=$PREFIX/lib/libjackasyn.so.0
+ PRELOAD=$LIBDIR/libjackasyn.so.0
 fi
 
 
-if test -f $PREFIX/lib/libjackasyn.so.0 -a "$jackcnt" != "0"
+if test -f $LIBDIR/libjackasyn.so.0 -a "$jackcnt" != "0"
 then 
   export LD_PRELOAD=$PRELOAD
 fi