]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG, _LT_LINKER_SHLIBS)
authorPeter O'Gorman <peter@pogma.com>
Thu, 8 Dec 2005 04:17:02 +0000 (04:17 +0000)
committerPeter O'Gorman <peter@pogma.com>
Thu, 8 Dec 2005 04:17:02 +0000 (04:17 +0000)
[darwin]: Use $LTCC $LTCFLAGS to check for -single_module.
Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>

ChangeLog
libltdl/m4/libtool.m4

index ee086969fd26c26ea0a64bfe9d8e3a90fb81307a..77d8bd55c3198474326cc950ad24d37e0f6e85e7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-12-08  Peter O'Gorman  <peter@pogma.com>
+
+       * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG, _LT_LINKER_SHLIBS)
+       [darwin]: Use $LTCC $LTCFLAGS to check for -single_module.
+       Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
 2005-12-07  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
 
        * bootstrap: always remove Makefile, to avoid triggering the
index cf950cf3c98442016d3b886d238e4d84d7d565ff..2aaff044a15d54039933565c311bfdf8056c25e7 100644 (file)
@@ -4400,9 +4400,9 @@ _LT_EOF
          # by either setting the environment variable LT_MULTI_MODULE
          # non-empty at configure time, or by adding -multi-module to the
          # link flags.
-         echo "int foo(void){return 1;}" > conftest.$ac_ext
-         $CC $CLFAGS $LDFLAGS -o libconftest.dylib \
-             -dynamiclib ${wl}-single_module conftest.$ac_ext
+         echo "int foo(void){return 1;}" > conftest.c
+         $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+             -dynamiclib ${wl}-single_module conftest.c
          if test -f libconftest.dylib; then
              lt_cv_apple_cc_single_mod=yes
              rm libconftest.dylib
@@ -5395,9 +5395,9 @@ if test "$_lt_caught_CXX_error" != yes; then
            # by either setting the environment variable LT_MULTI_MODULE
            # non-empty at configure time, or by adding -multi-module to the
            # link flags.
-           echo "int foo(void){return 1;}" > conftest.$ac_ext
-           $CC $CLFAGS $LDFLAGS -o libconftest.dylib \
-               -dynamiclib ${wl}-single_module conftest.$ac_ext
+           echo "int foo(void){return 1;}" > conftest.c
+           $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
+               -dynamiclib ${wl}-single_module conftest.c
            if test -f libconftest.dylib; then
                lt_cv_apple_cc_single_mod=yes
                rm libconftest.dylib