mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
Pass -avoid-version when building a shared library to avoid problems
with "installing" symbolic links. We need to do this conditional, since some libtool versions imply --disable-static with this option.
This commit is contained in:
parent
601b837c56
commit
712105cd5d
@ -652,6 +652,7 @@ program)
|
||||
shared)
|
||||
enable_static=no
|
||||
passthru="$passthru --disable-static"
|
||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -avoid-version"
|
||||
;;
|
||||
static)
|
||||
enable_shared=no
|
||||
@ -785,6 +786,8 @@ if true; then
|
||||
|
||||
fi
|
||||
|
||||
PHP_SHOW_LD_LIBRARY_PATH
|
||||
|
||||
])
|
||||
|
||||
divert
|
||||
|
Loading…
Reference in New Issue
Block a user