Try to guess how to set runtime link path, and make it easier to extend.

DEVEL_2_0_BRANCH-1
Petter Reinholdtsen 2001-04-16 17:23:39 +00:00
rodzic 8f22c0e307
commit f76f3af97f
1 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -7,6 +7,8 @@
PACKAGE="@PACKAGE@"
scriptname="sane-config"
LINKER_RPATH="@LINKER_RPATH@"
prefix="@prefix@"
exec_prefix="@exec_prefix@"
@ -79,7 +81,11 @@ if test $# -gt 0; then
exit 1
;;
--ldflags)
if test -z "$linker_rpath"; then
echo "-L${libdir}"
else
echo "-L${libdir} ${linker_rpath}${libdir}"
;;
--libs)
echo "-lsane ${LIBS}"