configure.ac: don't add RPATH when searching for extra libs

Closes #766
doesn't appear to actually be required, and adding RPATH breaks Debian and OpenSUSE policy
all flames to me
This commit is contained in:
David Adam (zanchey) 2013-08-22 12:07:10 +08:00
parent 7541fac245
commit 05233aa6f4

View File

@ -126,7 +126,7 @@ for i in /usr/pkg /sw /opt /opt/local /usr/local; do
AC_MSG_CHECKING([for $i/lib library directory])
if test -d $i/lib; then
AC_MSG_RESULT(yes)
LDFLAGS="$LDFLAGS -L$i/lib/ -Wl,-rpath,$i/lib/"
LDFLAGS="$LDFLAGS -L$i/lib/"
else
AC_MSG_RESULT(no)
fi