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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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