mirror of
https://github.com/php/php-src.git
synced 2025-08-16 14:08:47 +02:00
remove all references to RAW_RPATHs
Apache builds now correctly when shared core is used
This commit is contained in:
parent
433880bc6e
commit
85151a61ce
3 changed files with 0 additions and 7 deletions
|
@ -38,7 +38,6 @@ AC_DEFUN(AC_ADD_LIBPATH,[
|
||||||
AC_EXPAND_PATH($1, ai_p)
|
AC_EXPAND_PATH($1, ai_p)
|
||||||
AC_PHP_ONCE(LIBPATH, $ai_p, [
|
AC_PHP_ONCE(LIBPATH, $ai_p, [
|
||||||
EXTRA_LIBS="$EXTRA_LIBS -L$ai_p"
|
EXTRA_LIBS="$EXTRA_LIBS -L$ai_p"
|
||||||
RAW_RPATHS="$RAW_RPATHS ${raw_runpath_switch}$ai_p"
|
|
||||||
if test -n "$APXS" ; then
|
if test -n "$APXS" ; then
|
||||||
RPATHS="$RPATHS ${apxs_runpath_switch}$ai_p'"
|
RPATHS="$RPATHS ${apxs_runpath_switch}$ai_p'"
|
||||||
else
|
else
|
||||||
|
|
|
@ -139,7 +139,6 @@ AC_CACHE_VAL(php_cv_cc_dashr,[
|
||||||
AC_MSG_RESULT($php_cv_cc_dashr)
|
AC_MSG_RESULT($php_cv_cc_dashr)
|
||||||
if test $php_cv_cc_dashr = "yes"; then
|
if test $php_cv_cc_dashr = "yes"; then
|
||||||
ld_runpath_switch="-R"
|
ld_runpath_switch="-R"
|
||||||
raw_runpath_switch="-R"
|
|
||||||
apxs_runpath_switch="-Wl,-R'"
|
apxs_runpath_switch="-Wl,-R'"
|
||||||
else
|
else
|
||||||
AC_MSG_CHECKING([if compiler supports -Wl,-rpath,])
|
AC_MSG_CHECKING([if compiler supports -Wl,-rpath,])
|
||||||
|
@ -151,12 +150,10 @@ else
|
||||||
AC_MSG_RESULT($php_cv_cc_rpath)
|
AC_MSG_RESULT($php_cv_cc_rpath)
|
||||||
if test $php_cv_cc_rpath = "yes"; then
|
if test $php_cv_cc_rpath = "yes"; then
|
||||||
ld_runpath_switch="-Wl,-rpath,"
|
ld_runpath_switch="-Wl,-rpath,"
|
||||||
raw_runpath_switch="-rpath "
|
|
||||||
apxs_runpath_switch="-Wl,'-rpath "
|
apxs_runpath_switch="-Wl,'-rpath "
|
||||||
else
|
else
|
||||||
dnl something innocuous
|
dnl something innocuous
|
||||||
ld_runpath_switch="-L"
|
ld_runpath_switch="-L"
|
||||||
raw_runpath_switch="-L"
|
|
||||||
apxs_runpath_switch="-L'"
|
apxs_runpath_switch="-L'"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -395,7 +392,6 @@ AC_ARG_WITH(apache,
|
||||||
withval=/usr/local/etc/httpd
|
withval=/usr/local/etc/httpd
|
||||||
fi
|
fi
|
||||||
if test "$withval" != "no"; then
|
if test "$withval" != "no"; then
|
||||||
rpath_raw=yes
|
|
||||||
# For Apache 1.2.x
|
# For Apache 1.2.x
|
||||||
AC_EXPAND_PATH($withval, withval)
|
AC_EXPAND_PATH($withval, withval)
|
||||||
if test -f $withval/src/httpd.h; then
|
if test -f $withval/src/httpd.h; then
|
||||||
|
@ -879,7 +875,6 @@ AC_SUBST(CFLAGS_SHLIB)
|
||||||
AC_SUBST(LDFLAGS_SHLIB)
|
AC_SUBST(LDFLAGS_SHLIB)
|
||||||
AC_SUBST(LDFLAGS_SHLIB_EXPORT)
|
AC_SUBST(LDFLAGS_SHLIB_EXPORT)
|
||||||
AC_SUBST(RPATHS)
|
AC_SUBST(RPATHS)
|
||||||
AC_SUBST(RAW_RPATHS)
|
|
||||||
|
|
||||||
PHP_BUILD_DATE=`date '+%Y-%m-%d'`
|
PHP_BUILD_DATE=`date '+%Y-%m-%d'`
|
||||||
AC_SUBST(PHP_BUILD_DATE)
|
AC_SUBST(PHP_BUILD_DATE)
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
Name: php4_module
|
Name: php4_module
|
||||||
ConfigStart
|
ConfigStart
|
||||||
RULE_WANTHSREGEX=@HSREGEX@
|
RULE_WANTHSREGEX=@HSREGEX@
|
||||||
LDFLAGS_SHLIB="@RAW_RPATHS@ $LDFLAGS_SHLIB"
|
|
||||||
LIBS="@RPATHS@ @PHP_LIBS@ @EXTRA_LIBS@ @LIBS@ @RDYNAMIC_LFLAGS@ $LIBS"
|
LIBS="@RPATHS@ @PHP_LIBS@ @EXTRA_LIBS@ @LIBS@ @RDYNAMIC_LFLAGS@ $LIBS"
|
||||||
RULE_HIDE=yes
|
RULE_HIDE=yes
|
||||||
CFLAGS="$CFLAGS -I@abs_srcdir@ -I@abs_srcdir@/libzend -I@abs_builddir@/libzend -I@abs_builddir@"
|
CFLAGS="$CFLAGS -I@abs_srcdir@ -I@abs_srcdir@/libzend -I@abs_builddir@/libzend -I@abs_builddir@"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue