aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-19 20:41:25 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-19 20:41:25 +0200
commita51f39217ec3b659f938687e2146ceb17078733d (patch)
treea266545f5c9ab4aa0010c5af163c35accfcb2569 /src
parenta11e3cb193fd29a4d59517a9e1f96f0d44ad0d01 (diff)
fix .so search in taler-config
Diffstat (limited to 'src')
-rw-r--r--src/util/taler-config.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/util/taler-config.in b/src/util/taler-config.in
index b6561d872..07f6401d6 100644
--- a/src/util/taler-config.in
+++ b/src/util/taler-config.in
@@ -8,5 +8,6 @@ if ! type gnunet-config >/dev/null; then
fi
GC=`which gnunet-config`
-export LD_PRELOAD=${LD_PRELOAD:-}:%libdir%/libtalerutil.so
+SO=`ls %libdir%/libtalerutil.so.* | sort -n | tail -n1`
+export LD_PRELOAD=${LD_PRELOAD:-}:${SO}
exec gnunet-config "$@"