/usr/bin/g-wrap-config is in libgwrap-runtime-dev 1.9.15-0.2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | #!/bin/sh
chk_is_guile() {
if [ "$1" != guile ]; then
echo "unsupported language: $1"
exit 1
fi
}
pkg=g-wrap-2.0-guile
case $1 in
--version)
echo g-wrap-config 1.9.15
;;
--c-compile-args)
chk_is_guile $2
pkg-config --cflags $pkg
;;
--c-link-args)
chk_is_guile $2
pkg-config --libs $pkg
;;
--guile-module-directory)
pkg-config --variable=module_directory $pkg
;;
*)
echo "unsupported option/argument $1"
exit 1
esac
|