/usr/bin/spl-config is in spl-dev 1.0~pre6-4.
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 | #!/bin/sh
case "$*" in
--cflags)
echo -I/usr/include
;;
--ldflags)
echo -L/usr/lib -L/usr/local/lib -rdynamic -pthread -L/usr/lib
;;
--ldlibs)
echo -lspl -ldl -lm -L/usr/lib/x86_64-linux-gnu -lpcre -lreadline -lncurses
;;
--moddir)
echo /usr/lib/spl_modules
;;
*)
echo "Usage: $0 { --cflags | --ldflags | --ldlibs | --moddir }"
exit 1
esac
exit 0
|