]> git.ipfire.org Git - thirdparty/util-linux.git/blame - tools/libtool.m4.patch
Merge branch 'po-man/fixes' of https://github.com/t-8ch/util-linux
[thirdparty/util-linux.git] / tools / libtool.m4.patch
CommitLineData
06953d22
KZ
1--- a/m4/libtool.m4 2021-10-14 11:55:26.305333399 +0200
2+++ b/m4/libtool.m4 2021-10-14 12:01:45.487505638 +0200
3@@ -1067,16 +1067,11 @@
4 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
5 darwin1.*)
6 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
7- darwin*) # darwin 5.x on
8- # if running on 10.5 or later, the deployment target defaults
9- # to the OS version, if on x86, and 10.4, the deployment
10- # target defaults to 10.4. Don't you love it?
11- case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
12- 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
13- _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
14- 10.[[012]][[,.]]*)
15- _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
16- 10.*)
17+ darwin*)
18+ case ${MACOSX_DEPLOYMENT_TARGET},$host in
19+ 10.[[012]],*|,*powerpc*)
20+ _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
21+ *)
22 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
23 esac
24 ;;