aboutsummaryrefslogtreecommitdiff
path: root/src/util/taler-config.in
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-03-28 22:12:47 +0100
committerChristian Grothoff <christian@grothoff.org>2020-03-28 22:12:47 +0100
commit17eafb869c62f499960c1971a1d6fbfdeda84fc3 (patch)
tree7ebe71b9ca03e2ad0cbffbcf882d3a2804b35675 /src/util/taler-config.in
parent4abb38a36ed41c70e8ee90cda4779c18d42f263b (diff)
address FIXME
Diffstat (limited to 'src/util/taler-config.in')
-rw-r--r--src/util/taler-config.in11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/util/taler-config.in b/src/util/taler-config.in
index 212e52e12..b6561d872 100644
--- a/src/util/taler-config.in
+++ b/src/util/taler-config.in
@@ -7,15 +7,6 @@ if ! type gnunet-config >/dev/null; then
exit 1
fi
-# FIXME: not very portable ...
-# FIXME: should use "libdir" instead of prefix/lib, but somehow
-# the recursive expansion does not work ;-(.
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
+export LD_PRELOAD=${LD_PRELOAD:-}:%libdir%/libtalerutil.so
exec gnunet-config "$@"