From: Gary V. Vaughan Date: Fri, 29 Jun 2001 01:54:05 +0000 (+0000) Subject: From Chris Leishman X-Git-Tag: release-1-4-1~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b8c1289b1c836a36ced238eb82dd51b17e4d328e;p=thirdparty%2Flibtool.git From Chris Leishman * libtool,m4 (_LT_AC_LTCONFIG_HACK) [darwin]: Cheap hack to help fake a C++ compilation. --- diff --git a/ChangeLog b/ChangeLog index 4f333b246..d2df8488e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ 2001-06-29 Gary V. Vaughan - From Bruno Haible + From Chris Leishman + * libtool,m4 (_LT_AC_LTCONFIG_HACK) [darwin]: Cheap hack to + help fake a C++ compilation. + + From Bruno Haible * NEWS: Updated. * libtool.m4 (_LT_AC_LTCONFIG_HACK): Make sure ac_objext is set to `lo' when testing for compiler output to *.lo filenames. diff --git a/libtool.m4 b/libtool.m4 index 119510e4c..db044d8cc 100644 --- a/libtool.m4 +++ b/libtool.m4 @@ -1514,7 +1514,7 @@ else # FIXME: Relying on posixy $() will cause problems for # cross-compilation, but unfortunately the echo tests do not # yet detect zsh echo's removal of \ escapes. - archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)' + archive_cmds='$nonopt $(test .$module = .yes && echo -bundle || echo -dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts -install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && echo $verstring)' # We need to add '_' to the symbols in $export_symbols first #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols' hardcode_direct=yes