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:
parent
eec2a3c220
commit
b08951a43e
1 changed files with 9 additions and 0 deletions
|
@ -6,7 +6,16 @@ AM_INIT_AUTOMAKE
|
||||||
AC_LANG_C
|
AC_LANG_C
|
||||||
AC_PROG_CC
|
AC_PROG_CC
|
||||||
AC_PROG_MAKE_SET
|
AC_PROG_MAKE_SET
|
||||||
|
|
||||||
|
# Libtool
|
||||||
AC_PROG_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_PROG_RANLIB
|
||||||
|
|
||||||
AC_PATH_PROG(PKG_CONFIG, pkg-config)
|
AC_PATH_PROG(PKG_CONFIG, pkg-config)
|
||||||
|
|
Loading…
Reference in a new issue