Merge pull request #5370

b7f2cdc build: disable static lib stripping during osx make install-strip (Cory Fields)
This commit is contained in:
Wladimir J. van der Laan 2014-11-26 11:07:08 +01:00
commit 91eaedd4ce
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

View file

@ -281,6 +281,12 @@ case $host in
AC_PATH_TOOL([INSTALLNAMETOOL], [install_name_tool], install_name_tool)
AC_PATH_TOOL([OTOOL], [otool], otool)
AC_PATH_PROGS([GENISOIMAGE], [genisoimage mkisofs],genisoimage)
dnl libtool will try to strip the static lib, which is a problem for
dnl cross-builds because strip attempts to call a hard-coded ld,
dnl which may not exist in the path. Stripping the .a is not
dnl necessary, so just disable it.
old_striplib=
;;
esac
fi