From: Peter O'Gorman Date: Thu, 8 Dec 2005 04:17:02 +0000 (+0000) Subject: * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG, _LT_LINKER_SHLIBS) X-Git-Tag: release-2-1b~368 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=436146c7dbf9681dd2d66c5e1c0f1292cd0eb50a;p=thirdparty%2Flibtool.git * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG, _LT_LINKER_SHLIBS) [darwin]: Use $LTCC $LTCFLAGS to check for -single_module. Reported by Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index ee086969f..77d8bd55c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-12-08 Peter O'Gorman + + * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG, _LT_LINKER_SHLIBS) + [darwin]: Use $LTCC $LTCFLAGS to check for -single_module. + Reported by Ralf Wildenhues + 2005-12-07 Ralf Wildenhues * bootstrap: always remove Makefile, to avoid triggering the diff --git a/libltdl/m4/libtool.m4 b/libltdl/m4/libtool.m4 index cf950cf3c..2aaff044a 100644 --- a/libltdl/m4/libtool.m4 +++ b/libltdl/m4/libtool.m4 @@ -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