[php-src] PR #15686: Autotools: Fix iconv shared build with external library
| From: | petk | Date: | Sun, 01 Sep 2024 06:57:45 +0000 |
| Subject: | [php-src] PR #15686: Autotools: Fix iconv shared build with external library | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-28326@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/15686
Author: petk
When building:
./configure --with-iconv=shared,/path/to/libiconv
the iconv couldn't be found due to linker error
Autoconf places LDFLAGS before the conftest.c file in the test compile command and LIBS after it.
GCC also requires this.
Similar issue discovered at
https://github.com/remicollet/php-xpass/pull/1