mirror of
https://github.com/php/php-src.git
synced 2024-11-27 11:53:33 +08:00
Add TSRM's LDFLAGS to EXTRA_LDFLAGS
This commit is contained in:
parent
aa3737e6e1
commit
a1160a3eb9
@ -725,9 +725,12 @@ dnl test -n "$GCC" && CFLAGS="$CFLAGS -fpic"
|
||||
dnl add -fPIC option on Solaris if we are building dynamic extensions
|
||||
dnl PHP_SOLARIS_PIC_WEIRDNESS
|
||||
|
||||
LDFLAGS=""
|
||||
if test "$PHP_THREAD_SAFETY" = "yes"; then
|
||||
TSRM_BASIC_CHECKS
|
||||
TSRM_OTHER_CHECKS
|
||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $LDFLAGS"
|
||||
LDFLAGS=""
|
||||
fi
|
||||
|
||||
|
||||
@ -737,7 +740,6 @@ AC_SUBST(phplibdir)
|
||||
AC_SUBST(phptempdir)
|
||||
EXTRA_LIBS="$EXTRA_LIBS $LIBS"
|
||||
LIBS=""
|
||||
LDFLAGS=""
|
||||
|
||||
AC_BUILD_RPATH
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user