aboutsummaryrefslogtreecommitdiff
path: root/src/util/taler-config.in
blob: 5c997688c7874ba45ef81152c509668be5e451f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash

if ! type gnunet-config >/dev/null; then
  echo "$0 needs gnunet-config to be installed"
  exit 1
fi

# FIXME: not very portable ...
# FIXME: should use "libdir" instead of prefix/lib, but somehow
# the recursive expansion does not work ;-(.
export LD_PRELOAD=@prefix@/lib/libtalerutil.so
exec gnunet-config "$@"