Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fallback for openssl #545

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

mizunashi-mana
Copy link
Contributor

Inspired by https://github.com/rbenv/ruby-build

PHP with php-build configure options needs only external openssl and icu4c on XCode >= 9.1 (The latest is XCode 10.1). Now, php-build has detection codes for openssl and icu4c of Homebrew. But, openssl detection is not working.

I improve openssl detection and more add fallback when detection fails (installing and building openssl from source).
Notice: for maintanance costs, I add fallback to only PHP >= 7.2. In cases of php < 7.2, this patch only detect Homebrew packages.

See also: #538

Also includes:

  • Improve CI config
  • Improve macOS detection

P.S.

I expect anyone improve php-build codes to use new generation codes for maintanance.

@mizunashi-mana
Copy link
Contributor Author

  • Add bison fallback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant