aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/taler-config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/util/taler-config.in b/src/util/taler-config.in
index beea2540e..212e52e12 100644
--- a/src/util/taler-config.in
+++ b/src/util/taler-config.in
@@ -13,5 +13,9 @@ fi
GC=`which gnunet-config`
ASAN=""
A=`ldd $GC | grep libasan` && ASAN=`echo $A | awk '{print $3 ":"}'`
+if test -z $ASAN
+then
+ A=`ldd @prefix@/lib/libtalerutil.so | grep libasan` && ASAN=`echo $A | awk '{print $3 ":"}'`
+fi
export LD_PRELOAD=${ASAN}${LD_PRELOAD:-}:@prefix@/lib/libtalerutil.so
exec gnunet-config "$@"