configure: also cure nm's malformed object disease

Change-Id: Idedefb7bdd37ba2039112707510afc030718e281
This commit is contained in:
Michael Stahl 2013-09-13 17:46:28 +02:00
parent 4956d0667d
commit 79fc9b9250

View File

@ -2721,6 +2721,7 @@ if test $_os = Darwin; then
CXX="`xcrun -find clang++` $bitness $lto $stdlib -mmacosx-version-min=$with_macosx_version_min_required -isysroot $MACOSX_SDK_PATH" CXX="`xcrun -find clang++` $bitness $lto $stdlib -mmacosx-version-min=$with_macosx_version_min_required -isysroot $MACOSX_SDK_PATH"
INSTALL_NAME_TOOL=`xcrun -find install_name_tool` INSTALL_NAME_TOOL=`xcrun -find install_name_tool`
AR=`xcrun -find ar` AR=`xcrun -find ar`
NM=`xcrun -find nm`
LIBTOOL=`xcrun -find libtool` LIBTOOL=`xcrun -find libtool`
RANLIB=`xcrun -find ranlib` RANLIB=`xcrun -find ranlib`
;; ;;
@ -2868,6 +2869,7 @@ if test $_os = iOS; then
CXX="`xcrun -find clang++` -arch $arch -isysroot $sysroot $lto $versionmin" CXX="`xcrun -find clang++` -arch $arch -isysroot $sysroot $lto $versionmin"
INSTALL_NAME_TOOL=`xcrun -find install_name_tool` INSTALL_NAME_TOOL=`xcrun -find install_name_tool`
AR=`xcrun -find ar` AR=`xcrun -find ar`
NM=`xcrun -find nm`
LIBTOOL=`xcrun -find libtool` LIBTOOL=`xcrun -find libtool`
RANLIB=`xcrun -find ranlib` RANLIB=`xcrun -find ranlib`
fi fi