1
0
Эх сурвалжийг харах

configure: Don't use "-Wl,--no-undefined" in "sdl2-config --static-libs"

Fixes #3788.
Ryan C. Gordon 4 жил өмнө
parent
commit
b42bf2a774
2 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 1 1
      configure
  2. 1 1
      configure.ac

+ 1 - 1
configure

@@ -16380,7 +16380,7 @@ _ACEOF
 if ac_fn_c_try_link "$LINENO"; then :
 
         have_no_undefined=yes
-        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--no-undefined"
+        BUILD_LDFLAGS="$BUILD_LDFLAGS -Wl,--no-undefined"
 
 fi
 rm -f core conftest.err conftest.$ac_objext \

+ 1 - 1
configure.ac

@@ -244,7 +244,7 @@ case "$host" in
         ],[
         ],[
         have_no_undefined=yes
-        EXTRA_LDFLAGS="$EXTRA_LDFLAGS -Wl,--no-undefined"
+        BUILD_LDFLAGS="$BUILD_LDFLAGS -Wl,--no-undefined"
         ])
         LDFLAGS="$save_LDFLAGS"
         ;;