exchange/src/util/taler-config.in
2021-08-19 20:41:25 +02:00

14 lines
277 B
Bash

#!/usr/bin/env bash
set -eu
if ! type gnunet-config >/dev/null; then
echo "$0 needs gnunet-config to be installed"
exit 1
fi
GC=`which gnunet-config`
SO=`ls %libdir%/libtalerutil.so.* | sort -n | tail -n1`
export LD_PRELOAD=${LD_PRELOAD:-}:${SO}
exec gnunet-config "$@"