Attempt to fix rpath issue on linux platform (it is already deprecated in main distributions. i.e. http://wiki.debian.org/RpathIssue)

This commit is contained in:
Romuald Conty 2009-08-26 08:54:39 +00:00
parent eec2a3c220
commit b08951a43e

View file

@ -6,7 +6,16 @@ AM_INIT_AUTOMAKE
AC_LANG_C
AC_PROG_CC
AC_PROG_MAKE_SET
# Libtool
AC_PROG_LIBTOOL
case "$host" in
*-pc-linux-gnu)
AC_MSG_RESULT([Fixing libtool for -rpath problems.])
sed -i -r 's/(hardcode_into_libs)=.*$/\1=no/' libtool
;;
esac
AC_PROG_RANLIB
AC_PATH_PROG(PKG_CONFIG, pkg-config)