On 29/06/2024 17:58, Ozkan Sezer wrote:
With current development branch, 'allow_undefined_flag' in the libtool script generated after running configure looked like this: allow_undefined_flag="\$_lt_dar_allow_undefined \$wl-no_fixup_chains"The solution I ended up with and applied in SDL is the following: (also attached as I'm sure gmail will mangle the patch) Any better solution is welcome, of course. diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 31f1be0..5357a3d 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -1089,9 +1089,10 @@ _LT_EOF 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' if test yes = "$lt_cv_support_no_fixup_chains"; then - _lt_dar_allow_undefined='$_lt_dar_allow_undefined $wl-no_fixup_chains' + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup $wl-no_fixup_chains' + else + _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' fi ;; esac
Thank you for attaching the patch. I have applied it to development, and it should move to master later this week. The '-no_fixup_chains' issue is hopefully resolved! -- Ileana Dumitrescu GPG Public Key: FA26 CA78 4BE1 8892 7F22 B99F 6570 EA01 146F 7354
OpenPGP_0x6570EA01146F7354.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature