]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
libtool.m4: fix appending of -no_fixup_chains to _lt_dar_allow_undefined
authorOzkan Sezer <sezeroz@gmail.com>
Sat, 29 Jun 2024 14:51:56 +0000 (17:51 +0300)
committerIleana Dumitrescu <ileanadumitrescu95@gmail.com>
Mon, 1 Jul 2024 14:54:28 +0000 (17:54 +0300)
m4/libtool.m4

index 31f1be04ba653f68f4d532e573ed03b8ea056b3a..5357a3d91c91dd5cd525c7ef404122f145eb4727 100644 (file)
@@ -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