]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libtool.m4 [darwin]: Really use _lt_dar_allow_undefined for
authorPeter O'Gorman <peter@pogma.com>
Wed, 27 Feb 2008 20:30:25 +0000 (20:30 +0000)
committerPeter O'Gorman <peter@pogma.com>
Wed, 27 Feb 2008 20:30:25 +0000 (20:30 +0000)
allow_undefined_flag.
Reported by Eric Hall <eric@darkart.com>.

ChangeLog
libtool.m4

index f9b7549c1a77408fcab9baf3ed24f8088104d7dd..e164eda78b414e1064fbef5c3e0b9ed7008940d6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-27  Peter O'Gorman  <peter@pogma.com>
+
+       * libtool.m4 [darwin]: Really use _lt_dar_allow_undefined for
+       allow_undefined_flag.
+       Reported by Eric Hall <eric@darkart.com>.
+
 2008-02-14  Peter Breitenlohner  <peb@mppmu.mpg.de>
 
        * libtool.m4 (AC_LIBTOOL_SYS_DYNAMIC_LINKER): better handling
index 01a72865a8570660ddb12a524ae8d45248bff2ab..1709ba850921f24e971eec7944fb2b0741807359 100644 (file)
@@ -6042,25 +6042,7 @@ _LT_EOF
       ;;
 
     darwin* | rhapsody*)
-      case $host_os in
-        rhapsody* | darwin1.[[012]])
-         _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress'
-         ;;
-       *) # Darwin 1.3 on
-         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
-           _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
-         else
-           case ${MACOSX_DEPLOYMENT_TARGET} in
-             10.[[012]])
-               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
-               ;;
-             10.*)
-               _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup'
-               ;;
-           esac
-         fi
-         ;;
-      esac
+      _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
       _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no
       _LT_AC_TAGVAR(hardcode_direct, $1)=no
       _LT_AC_TAGVAR(hardcode_automatic, $1)=yes