SHA256
1
0
forked from pool/bzflag
bzflag/bzflag-2.4.0-as_needed.patch

25 lines
846 B
Diff

Index: configure
===================================================================
--- configure.orig
+++ configure
@@ -20702,8 +20702,8 @@ ares_works=no
if test "x$enable_ares_build" != "xyes" ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ares DNS lookup functionality" >&5
$as_echo_n "checking for ares DNS lookup functionality... " >&6; }
- PRELDFLAGS="$LDFLAGS"
- LDFLAGS="$LDFLAGS $LIBCARES"
+ PRELIBS="$LIBS"
+ LIBS="$LIBS $LIBCARES"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
@@ -20733,7 +20733,7 @@ else
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
- LDFLAGS="$PRELDFLAGS"
+ LIBS="$PRELIBS"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ares_works" >&5
$as_echo "$ares_works" >&6; }
fi # enable_ares_build