[php-src] PR #21238: Autotools: Add -fvisibility=hidden also in phpize
| From: | petk | Date: | Mon, 16 Feb 2026 23:20:19 +0000 |
| Subject: | [php-src] PR #21238: Autotools: Add -fvisibility=hidden also in phpize | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-34927@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/21238
Author: petk
This builds shared extensions in php-src and through phpize with the same visibility preset.
Otherwise, I'm not sure if this is of any importance but IMHO it isn't good producing two
different modules when building in php-src or via phpize.
For example:
```sh
./buildconf
./configure --enable-calendar=shared
make
readelf --dyn-syms modules/calendar.so
```
vs.
```sh
cd ext/calendar
phpize
./configure
make
readelf --dyn-syms modules/calendar.so
```