summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-18 19:49:33 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-18 19:49:33 +0100
commit6bdccb5c7bfa6728d7227e19b26f1bc9a0849fb3 (patch)
tree1f59a129c96bde9019c6a891b4833e99f8923306 /src/util
parent5c46951821841cf93f2e68168617572be4b99b1e (diff)
downloadexchange-6bdccb5c7bfa6728d7227e19b26f1bc9a0849fb3.tar.gz
exchange-6bdccb5c7bfa6728d7227e19b26f1bc9a0849fb3.tar.bz2
exchange-6bdccb5c7bfa6728d7227e19b26f1bc9a0849fb3.zip
add preload obscenity
Diffstat (limited to 'src/util')
-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 beea2540..212e52e1 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 "$@"