diff options
| author | foobar <sniper@php.net> | 2005-06-22 06:50:24 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2005-06-22 06:50:24 +0000 |
| commit | a0ab6b7160d7db58dd6393beaf24ea42f71f4612 (patch) | |
| tree | f25c42affbb299dc01865aacd3360cd14baae4d6 /acinclude.m4 | |
| parent | 4472024ea2981b484d67bb890ed6fb9299622b07 (diff) | |
| download | php-git-a0ab6b7160d7db58dd6393beaf24ea42f71f4612.tar.gz | |
- Never ever add /usr/lib as libpath, even if --with-libdir is used
Diffstat (limited to 'acinclude.m4')
| -rw-r--r-- | acinclude.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 2157006255..70666daa25 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -441,7 +441,7 @@ dnl dnl Adds a path to linkpath/runpath (LDFLAGS) dnl AC_DEFUN([PHP_ADD_LIBPATH],[ - if test "$1" != "/usr/$PHP_LIBDIR"; then + if test "$1" != "/usr/$PHP_LIBDIR" && test "$1" != "/usr/lib"; then PHP_EXPAND_PATH($1, ai_p) ifelse([$2],,[ _PHP_ADD_LIBPATH_GLOBAL([$ai_p]) |
