diff options
author | Gary V. Vaughan <gary@gnu.org> | 2014-10-25 16:59:07 +0100 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2014-10-25 17:17:40 +0100 |
commit | e145288b059e14ab7e58fc6a304e82d9dad282a6 (patch) | |
tree | abbd3e45b9b94b0e55333cf985b181cb5fd1ab75 /m4/libtool.m4 | |
parent | d7852a350058ecc533c0041db382f8e8c15ba39b (diff) | |
download | libtool-e145288b059e14ab7e58fc6a304e82d9dad282a6.tar.gz |
libtool: support Mac OS 10.10 and newer.
The current template mistakenly treats a MACOSX_DEPLOYMENT_TARGET
value of "10.10" as "10.1" followed by junk. Thinking that the
build is targeting 10.1 Puma instead of 10.10 Yosemite, it tells
the linker to ignore undefined symbols instead of dynamically
resolving them. This can cause runtime crashes* and will affect
subsequent versions of OS X.
* libtool.mk (_LT_REQUIRED_DARWIN_CHECKS): Improve case match so
as to reject 10.10.x on the 10.1 and 10.2 branch.
* THANKS: Add Lawrence Velázquez.
From Lawrence Velázquez
Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Diffstat (limited to 'm4/libtool.m4')
-rw-r--r-- | m4/libtool.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 320d8b36..068f0d8b 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -1043,7 +1043,7 @@ _LT_EOF case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; - 10.[[012]]*) + 10.[[012]][[,.]]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; 10.*) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; |