3 # This program wraps around libgcrypt-config to generate the correct include and
4 # library paths when cross-compiling using a sysroot.
11 echo "usage: $0 /path/to/sysroot [libgcrypt-config-arguments]" >&2
15 config_path
=$sysroot/usr
/bin
/libgcrypt-config
17 echo `$config_path "$@" | sed -e 's|/|'$sysroot'/|'`