From b7f2cdc8a97ba1a2155c0614895701de0f327154 Mon Sep 17 00:00:00 2001 From: Cory Fields Date: Fri, 21 Nov 2014 21:21:54 -0500 Subject: [PATCH] build: disable static lib stripping during osx make install-strip --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 6784521d81..a9dec32272 100644 --- a/configure.ac +++ b/configure.ac @@ -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