]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
From Chris Leishman <chris@sharinga.com>
authorGary V. Vaughan <gary@gnu.org>
Fri, 29 Jun 2001 01:54:05 +0000 (01:54 +0000)
committerGary V. Vaughan <gary@gnu.org>
Fri, 29 Jun 2001 01:54:05 +0000 (01:54 +0000)
* libtool,m4 (_LT_AC_LTCONFIG_HACK) [darwin]:  Cheap hack to
help fake a C++ compilation.

ChangeLog
libtool.m4

index 4f333b2461466f50f28ce21a95df2dbdc94614b1..d2df8488e969a64befd04b4e78bf4bc9d9916625 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 2001-06-29  Gary V. Vaughan  <gary@gnu.org>
 
-       From Bruno Haible  <haible@ilog.fr>
+       From Chris Leishman <chris@sharinga.com>
+       * libtool,m4 (_LT_AC_LTCONFIG_HACK) [darwin]:  Cheap hack to
+       help fake a C++ compilation.
+
+       From Bruno Haible <haible@ilog.fr>
        * NEWS: Updated.
        * libtool.m4 (_LT_AC_LTCONFIG_HACK):  Make sure ac_objext is
        set to `lo' when testing for compiler output to *.lo filenames.
index 119510e4c23c7a6c6111978cdd8f43f16dd5989c..db044d8cc91c0b4dad5158010f72f5100a28e671 100644 (file)
@@ -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