summaryrefslogtreecommitdiff
path: root/src/util/anastasis-config.in
blob: 0e94921a33321f196c85bde955798ab30168994e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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`
export LD_PRELOAD=${LD_PRELOAD:-}:%libdir%/libanastasisutil.so
exec gnunet-config "$@"