1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Fix GH-11603: Set LDFLAGS (#11605)

The two unsets before the last `unset LIBS LDFLAGS` are not necessary so
LDFLAGS can be adjusted via command line:

LDFLAGS="..." ./configure

Co-authored-by: Max Kellermann <max.kellermann@ionos.com>
This commit is contained in:
Peter Kokot
2023-07-07 04:30:56 +02:00
committed by GitHub
parent 07330380e0
commit cf587c1a1b

View File

@@ -1198,7 +1198,7 @@ if test "$ac_cv_lib_crypt_crypt" = "yes"; then
EXTRA_LIBS="-lcrypt $EXTRA_LIBS -lcrypt"
fi
unset LIBS LDFLAGS
unset LIBS
dnl PEAR
dnl ----------------------------------------------------------------------------
@@ -1371,7 +1371,7 @@ if test "$abs_srcdir" != "$abs_builddir"; then
fi
ZEND_EXTRA_LIBS="$LIBS"
unset LIBS LDFLAGS
unset LIBS
PHP_HELP_SEPARATOR([TSRM:])
PHP_CONFIGURE_PART(Configuring TSRM)