]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtool: powerpc 10.5 detection without a deployment target
authorRyan Schmidt <libtool@ryandesign.com>
Mon, 22 Nov 2021 03:06:50 +0000 (21:06 -0600)
committerAlex Ameen <alex.ameen.tx@gmail.com>
Mon, 22 Nov 2021 03:06:50 +0000 (21:06 -0600)
* m4/libtool.m4: properly set "allow undefined" flag for darwin powerpc 10.5
even if deployment target is unset

Copyright-paperwork-exempt: Yes

m4/libtool.m4

index 8cc0d8dea48fe5f6554e885aee6d385aa1cc6d33..551def8b1edfc85dd9ab8d7bd1a2ae2447e56390 100644 (file)
@@ -1071,7 +1071,7 @@ _LT_EOF
       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
     darwin*)
       case ${MACOSX_DEPLOYMENT_TARGET},$host in
-        10.[[012]],*|,*powerpc*)
+        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' ;;