From c6100a75ea2700489c21b8a070134de6b60308f4 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Thu, 6 Jul 2023 20:58:44 +0200 Subject: [PATCH] Fix GH-11603: Set LDFLAGS 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 0a475ed80f31..7445f930d602 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)