[php-src] Issue #10348: Literal ${wl} in build commands
| From: | ryandesign | Date: | Mon, 16 Jan 2023 18:27:48 +0000 |
| Subject: | [php-src] Issue #10348: Literal ${wl} in build commands | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-243467@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/10348
Author: ryandesign
### Description
When building a PHP extension using
phpize (either a bundled extension or third-party
extension) on macOS I see the literal string ${wl} in the build commands that are
printed to the terminal, e.g.:
```
/usr/bin/clang ${wl}-undefined ${wl}dynamic_lookup -o .libs/soap.so -bundle .libs/soap.o
.libs/php_encoding.o .libs/php_http.o .libs/php_packet_soap.o .libs/php_schema.o .libs/php_sdl.o
.libs/php_xml.o -L/opt/local/lib -lxml2 -arch x86_64 -Wl,-headerpad_max_install_names
-Wl,-syslibroot -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -Wl,-rpath
-Wl,/opt/local/lib
```
Shouldn't that ${wl} have been replaced with -Wl, somewhere
beforehand?
### PHP Version
8.2.1
### Operating System
macOS 13.0.1