[php-src] PR #19352: update musl libc test to fix "cross" compilation on glibc system
| From: | henderkes | Date: | Sun, 03 Aug 2025 07:56:54 +0000 |
| Subject: | [php-src] PR #19352: update musl libc test to fix "cross" compilation on glibc system | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32769@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19352
Author: henderkes
The ldd check for musl libc does not correctly detect musl libc in case one is compiling for musl
libc on a glibc system. This PR fixes that.
This works because <features.h> will automatically define
__USE_GNU to enable GNU
extensions, which musl explicitly does not support.