libtool: powerpc 10.5 detection without a deployment target

* m4/libtool.m4: properly set "allow undefined" flag for darwin powerpc 10.5
even if deployment target is unset

Copyright-paperwork-exempt: Yes
This commit is contained in:
Ryan Schmidt 2021-11-21 21:06:50 -06:00 committed by Alex Ameen
parent 9e8c882517
commit 8f4bdbda0a

2
m4/libtool.m4 vendored
View 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' ;;