biglybt: 3.5.0.0 -> 3.6.0.0
[NixPkgs.git] / pkgs / development / tools / misc / binutils / 2.38 / 0001-libtool.m4-update-macos-version-detection-block.patch
blobe601be3a33082e959258ce1b4d0c63e12dff445d
1 From 33a8dc728eb5da3e1d3439c96810d1f6b2660b89 Mon Sep 17 00:00:00 2001
2 From: Andrew Childs <andrew.childs@bibo.com.ph>
3 Date: Tue, 22 Feb 2022 12:24:46 +0900
4 Subject: [PATCH] libtool.m4: update macos version detection block
6 Includes upstream change
7 9e8c882517082fe5755f2524d23efb02f1522490
8 ---
9 libtool.m4 | 21 ++++++++-------------
10 1 file changed, 8 insertions(+), 13 deletions(-)
12 diff --git a/libtool.m4 b/libtool.m4
13 index 7a711249304..f452efb4300 100644
14 --- a/libtool.m4
15 +++ b/libtool.m4
16 @@ -996,20 +996,15 @@ _LT_EOF
18 case $host_os in
19 rhapsody* | darwin1.[[012]])
20 - _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
21 + _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
22 darwin1.*)
23 - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
24 - darwin*) # darwin 5.x on
25 - # if running on 10.5 or later, the deployment target defaults
26 - # to the OS version, if on x86, and 10.4, the deployment
27 - # target defaults to 10.4. Don't you love it?
28 - case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
29 - 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*)
30 - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
31 - 10.[[012]][[,.]]*)
32 - _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
33 - 10.*)
34 - _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
35 + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
36 + darwin*)
37 + case $MACOSX_DEPLOYMENT_TARGET,$host in
38 + 10.[[012]],*|,*powerpc*-darwin[[5-8]]*)
39 + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
40 + *)
41 + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
42 esac
44 esac
45 --
46 2.34.1