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 "$@"