Skip to content

Commit 76906e0

Browse files
author
foobar
committed
- Add --with-libdir to phpized builds too
1 parent 39b7569 commit 76906e0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

scripts/phpize.m4

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ PHP_CONFIG_NICE(config.nice)
4444
AC_PROG_CC
4545
AC_PROG_CC_C_O
4646

47+
dnl Support systems with system libraries in e.g. /usr/lib64
48+
AC_ARG_WITH(libdir,
49+
[ --with-libdir=NAME Look for libraries in .../NAME rather than .../lib],
50+
[PHP_LIBDIR=$withval], [PHP_LIBDIR=lib])
51+
4752
PHP_RUNPATH_SWITCH
4853
PHP_SHLIB_SUFFIX_NAME
4954
PHP_WITH_PHP_CONFIG

0 commit comments

Comments
 (0)