Skip to content

Commit 8636bc0

Browse files
committed
acinclude/libtool.m4: Apply macos11 patch from libtool bug #44605
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44605 https://github.com/macports/macports-ports/blob/master/devel/libtool/files/dynamic_lookup-11.patch ( Also see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44684 ) This also implicitly covers the macos10.10+ support patch from libtool mainstream which has been in since libtool-v2.4.3, i.e.: http://git.savannah.gnu.org/gitweb/?p=libtool.git;a=commit;h=e145288b059e14ab7e58fc6a304e82d9dad282a6
1 parent 2aeb317 commit 8636bc0

File tree

2 files changed

+8
-18
lines changed

2 files changed

+8
-18
lines changed

acinclude/libtool.m4

+4-9
Original file line numberDiff line numberDiff line change
@@ -1047,16 +1047,11 @@ _LT_EOF
10471047
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10481048
darwin1.*)
10491049
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1050-
darwin*) # darwin 5.x on
1051-
# if running on 10.5 or later, the deployment target defaults
1052-
# to the OS version, if on x86, and 10.4, the deployment
1053-
# target defaults to 10.4. Don't you love it?
1054-
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
1055-
10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
1056-
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
1057-
10.[[012]]*)
1050+
darwin*)
1051+
case $MACOSX_DEPLOYMENT_TARGET,$host in
1052+
10.[[012]],*|,*powerpc*-darwin[[5-8]]*)
10581053
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
1059-
10.*)
1054+
*)
10601055
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10611056
esac
10621057
;;

configure

+4-9
Original file line numberDiff line numberDiff line change
@@ -6924,16 +6924,11 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
69246924
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
69256925
darwin1.*)
69266926
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6927-
darwin*) # darwin 5.x on
6928-
# if running on 10.5 or later, the deployment target defaults
6929-
# to the OS version, if on x86, and 10.4, the deployment
6930-
# target defaults to 10.4. Don't you love it?
6931-
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6932-
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6933-
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6934-
10.[012]*)
6927+
darwin*)
6928+
case $MACOSX_DEPLOYMENT_TARGET,$host in
6929+
10.[012],*|,*powerpc*-darwin[5-8]*)
69356930
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6936-
10.*)
6931+
*)
69376932
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
69386933
esac
69396934
;;

0 commit comments

Comments
 (0)