From b8c1289b1c836a36ced238eb82dd51b17e4d328e Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Fri, 29 Jun 2001 01:54:05 +0000 Subject: [PATCH] From Chris Leishman * libtool,m4 (_LT_AC_LTCONFIG_HACK) [darwin]: Cheap hack to help fake a C++ compilation. --- ChangeLog | 6 +++++- libtool.m4 | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) 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 -- 2.47.3