diff options
-rw-r--r-- | eltpatch.in | 4 | ||||
-rw-r--r-- | patches/darwin20-conf/2.4.6 | 13 |
2 files changed, 15 insertions, 2 deletions
diff --git a/eltpatch.in b/eltpatch.in index e12f754..0765d49 100644 --- a/eltpatch.in +++ b/eltpatch.in @@ -173,7 +173,7 @@ elibtoolize() { case ${CHOST} in *-aix*) elt_patches+=" hardcode aixrtl" ;; #213277 - *-darwin*) elt_patches+=" darwin-ltconf darwin-ltmain darwin-conf" ;; + *-darwin*) elt_patches+=" darwin-ltconf darwin-ltmain darwin-conf darwin20-conf" ;; *-solaris*) elt_patches+=" sol2-conf sol2-ltmain" ;; *-freebsd*) elt_patches+=" fbsd-conf fbsd-ltconf" ;; *-hpux*) elt_patches+=" hpux-conf deplibs hc-flag-ld hardcode hardcode-relink relink-prog no-lc" ;; @@ -400,7 +400,7 @@ elibtoolize() { fi done ;; - mint-conf|gold-conf|sol2-conf) + mint-conf|gold-conf|sol2-conf|darwin20-conf) ELT_walk_patches "${d}/configure" "${p}" ret=$? ;; diff --git a/patches/darwin20-conf/2.4.6 b/patches/darwin20-conf/2.4.6 new file mode 100644 index 0000000..2a296a4 --- /dev/null +++ b/patches/darwin20-conf/2.4.6 @@ -0,0 +1,13 @@ +macOS Big Sur is 11.0, Darwin 20, after a long line of 10.X releases. + +--- configure ++++ configure +@@ -1076,7 +1076,7 @@ + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; + 10.[[012]][[,.]]*) + _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;; +- 10.*) ++ 10.*|11.*) + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;; + esac + ;; |