diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-01-18 19:49:33 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-01-18 19:49:33 +0100 |
commit | 6bdccb5c7bfa6728d7227e19b26f1bc9a0849fb3 (patch) | |
tree | 1f59a129c96bde9019c6a891b4833e99f8923306 /src/util | |
parent | 5c46951821841cf93f2e68168617572be4b99b1e (diff) |
add preload obscenity
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/taler-config.in | 4 |
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 "$@" |