Skip to content

Commit 91eaedd

Browse files
committed
Merge pull request #5370
b7f2cdc build: disable static lib stripping during osx make install-strip (Cory Fields)
2 parents 124b489 + b7f2cdc commit 91eaedd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

configure.ac

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,12 @@ case $host in
281281
AC_PATH_TOOL([INSTALLNAMETOOL], [install_name_tool], install_name_tool)
282282
AC_PATH_TOOL([OTOOL], [otool], otool)
283283
AC_PATH_PROGS([GENISOIMAGE], [genisoimage mkisofs],genisoimage)
284+
285+
dnl libtool will try to strip the static lib, which is a problem for
286+
dnl cross-builds because strip attempts to call a hard-coded ld,
287+
dnl which may not exist in the path. Stripping the .a is not
288+
dnl necessary, so just disable it.
289+
old_striplib=
284290
;;
285291
esac
286292
fi

0 commit comments

Comments
 (0)