-
Notifications
You must be signed in to change notification settings - Fork 7
Fix windows builds and PIE composer.json tweaks #14
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
Conversation
"php": ">=5.4" | ||
}, | ||
"php-ext": { | ||
"extension-name": "timezonedb", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extension name is not strictly required, since the package name is already correct, but it may help to be explicit.
"configure-options": [] | ||
"configure-options": [ | ||
{ | ||
"name": "enable-timezonedb", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This --enable-timezonedb
option is defined in config.m4
so it should be possible to provide this in the configure-options
when using PIE
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But it is pointless. Using it is the default, doing --disable-timezonedb
makes the extension not work.
"configure-options": [] | ||
"configure-options": [ | ||
{ | ||
"name": "enable-timezonedb", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But it is pointless. Using it is the default, doing --disable-timezonedb
makes the extension not work.
- { os: windows-2019, php: "8.1" } | ||
- { os: windows-2019, php: "8.0" } | ||
- { os: windows-2022, php: "7.4" } | ||
- { os: windows-2022, php: "7.3" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it be better to just spell out all the right combinations instead of the wrong ones?
I've picked the relevant bits into #18 , thanks! |
Originally in #12 this PR:
composer.json