From cf587c1a1b6af7b693ef28f6db873d82f4055b0a Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Fri, 7 Jul 2023 04:30:56 +0200 Subject: [PATCH] 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 --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 0a475ed80f3..7445f930d60 100644 --- a/configure.ac +++ b/configure.ac @@ -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)