Ver Fonte

libtool.m4: fix appending of -no_fixup_chains to allow_undefined_flag.

Ozkan Sezer há 9 meses atrás
pai
commit
a0ec7c0906
2 ficheiros alterados com 6 adições e 4 exclusões
  1. 3 2
      acinclude/libtool.m4
  2. 3 2
      configure

+ 3 - 2
acinclude/libtool.m4

@@ -1087,9 +1087,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

+ 3 - 2
configure

@@ -8215,9 +8215,10 @@ printf "%s\n" "$lt_cv_ld_force_load" >&6; }
         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