Skip to content

Commit 21a6e1f

Browse files
author
Gwynne Raskind
committed
unsetting LIBS and LDFLAGS just makes it impossible to specify LDFLAGS from the environment. keeping them doesn't seem to cause any trouble
1 parent d271615 commit 21a6e1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

configure.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ if test "$ac_cv_lib_crypt_crypt" = "yes"; then
946946
EXTRA_LIBS="-lcrypt $EXTRA_LIBS -lcrypt"
947947
fi
948948

949-
unset LIBS LDFLAGS
949+
#unset LIBS LDFLAGS
950950

951951
dnl PEAR
952952
dnl -------------------------------------------------------------------------
@@ -1029,7 +1029,7 @@ if test "$abs_srcdir" != "$abs_builddir"; then
10291029
fi
10301030

10311031
ZEND_EXTRA_LIBS="$LIBS"
1032-
unset LIBS LDFLAGS
1032+
#unset LIBS LDFLAGS
10331033

10341034
PHP_HELP_SEPARATOR([TSRM:])
10351035
PHP_CONFIGURE_PART(Configuring TSRM)
@@ -1041,7 +1041,7 @@ fi
10411041
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $LDFLAGS"
10421042
EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM $LDFLAGS"
10431043
EXTRA_LIBS="$EXTRA_LIBS $LIBS"
1044-
unset LIBS LDFLAGS
1044+
#unset LIBS LDFLAGS
10451045

10461046
test "$prefix" = "NONE" && prefix=/usr/local
10471047
test "$exec_prefix" = "NONE" && exec_prefix='${prefix}'

0 commit comments

Comments
 (0)