This is an automated email from the git hooks/post-receive script. ildumi pushed a commit to branch development in repository libtool.
The following commit(s) were added to refs/heads/development by this push: new 001d22d7 m4: Disable chained fixups for macOS 001d22d7 is described below commit 001d22d7d587e85a911c71c4d0c798ede8014b77 Author: Ileana Dumitrescu <ileanadumitresc...@gmail.com> AuthorDate: Thu Jun 20 16:57:26 2024 +0300 m4: Disable chained fixups for macOS * m4/libtool.m4: Append '-no_fixup_chains' flag to disable chained fixups since it is not compatible with '-undefined dynamic_lookup'. * NO-THANKS: Add thanks for Carlo Cabrera and Dave Allured. --- NO-THANKS | 2 ++ m4/libtool.m4 | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+) diff --git a/NO-THANKS b/NO-THANKS index 6b6a2415..9e0264bb 100644 --- a/NO-THANKS +++ b/NO-THANKS @@ -75,12 +75,14 @@ Andreas Stieger andreas.stie...@gmx.de Brent Leback brent.leb...@st.com Camilo La Rota camilo.lar...@ens-lyon.fr Carl D. Roth r...@cse.ucsc.edu +Carlo Cabrera carlo.antonio.cabr...@gmail.com Chris P. Ross cr...@eng.us.uu.net Christian Rössel christian.roes...@gmx.de Christopher Hulbert cchgroupm...@gmail.com Craig Tierney craig.tier...@noaa.gov Dan McMahill mcmah...@mtl.mit.edu Daniel Richard G. sk...@iskunk.org +Dave Allured dave.allu...@noaa.gov Dave Yost d...@yost.com Dimitri Papadopoulos d...@sfr.fr Donn Washburn n5...@comcast.net diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 1187330a..a1fcdf7a 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -1069,12 +1069,30 @@ _LT_EOF darwin1.*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; darwin*) + # $MACOSX_DEPLOYMENT_TARGET seems to be deprecated as a darwin + # environment variable case $MACOSX_DEPLOYMENT_TARGET,$host in 10.[[012]],*|,*powerpc*-darwin[[5-8]]*) _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; *) _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; esac + # Disable chained fixups since it is not compatible with + # '-undefined dynamic_lookup' + macos_version=`sw_vers -productVersion` + case $macos_version in + 11.[[3-7]]*|1[[2-4]]*) + xcode_version=`pkgutil --pkg-info=com.apple.pkg.CLTools_Executables` + case $xcode_version in + *version:\ 1[[3-5]]*) + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup $wl-no_fixup_chains' ;; + *) + ;; + esac + ;; + *) + ;; + esac ;; esac if test yes = "$lt_cv_apple_cc_single_mod"; then