mirror of
https://github.com/danog/php.git
synced 2024-11-30 04:29:16 +01:00
Use "nm" to list actual symbols from the module to check for the "zend_extension_entry" symbol (fixes false positives like xcache)
This commit is contained in:
parent
a5c680f5dc
commit
bdf240ee2a
@ -38,7 +38,7 @@ if [ "${#modules[@]}" -eq 0 ]; then
|
||||
fi
|
||||
|
||||
for module in "${modules[@]}"; do
|
||||
if grep -q zend_extension_entry "$module"; then
|
||||
if nm -g "$module" | grep -q ' zend_extension_entry$'; then
|
||||
# https://wiki.php.net/internals/extensions#loading_zend_extensions
|
||||
line="zend_extension=$(readlink -f "$module")"
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user