Skip to content

Conversation

gabrielrcouto
Copy link
Contributor

Added ".tbd" extension support for libiconv on Mac to use CommandLineTools SDK shared library.

I know library detection code is being ported and another PR solved the same problem, but this is a simple and temporary solution which enables Mac Mojave users to keep contributing with PHP on this mean time.

I tested this patch running:

./configure --enable-debug --enable-cli --with-iconv=$(xcrun --show-sdk-path)/usr

Added ".tbd" extension support for libiconv on Mac to use
CommandLineTools SDK shared library.
@nikic nikic requested a review from petk April 9, 2019 08:10
@nikic
Copy link
Member

nikic commented Apr 9, 2019

As iconv can't be detected using pkg-config, including something like this should be okay.

@nikic
Copy link
Member

nikic commented Apr 19, 2019

@petk Any concerns here?

@petk
Copy link
Member

petk commented Apr 20, 2019

Thank you @gabrielrcouto for the patch. I've applied this to PHP-7.4+ for now via e28db22. I'm not able to come up with a better fix for now... Because this now also means that on next macOS version PHP 7.2 and 7.3 won't be possible to build without 3rd party outside the php-src repo patches so we probably will still want to fine tune the patch proposed in the #3616... Thanks.

@petk petk closed this Apr 20, 2019
@petk petk removed their request for review April 20, 2019 13:28
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.

3 participants