Add TSRM's LDFLAGS to EXTRA_LDFLAGS

This commit is contained in:
Sascha Schumann 1999-12-22 22:24:20 +00:00
parent aa3737e6e1
commit a1160a3eb9

View File

@ -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