Skip to content

Conversation

petk
Copy link
Member

@petk petk commented Sep 1, 2024

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
remicollet/php-xpass#1

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
remicollet/php-xpass#1
@petk petk merged commit de66585 into php:master Sep 1, 2024
1 of 2 checks passed
@petk petk deleted the patch-iconv-libs branch September 1, 2024 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants