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

gyp: fix IPHONEOS_DEPLOYMENT_TARGET #1737

Closed
wants to merge 1 commit into from
Closed

Conversation

shawwn
Copy link

@shawwn shawwn commented May 2, 2019

If IPHONEOS_DEPLOYMENT_TARGET is specified, don't append MACOSX_DEPLOYMENT_TARGET flags.

When building for iOS, it's an error to have both -mmacosx-version-min=... and -miphoneos-version-min=... compiler flags.

This PR ensures that if IPHONEOS_DEPLOYMENT_TARGET is specified, no -mmacosx-version-min=... flags will be emitted.

Checklist
  • npm install && npm test passes
  • tests are included
  • documentation is changed or added
  • commit message follows commit guidelines
Description of change

If IPHONEOS_DEPLOYMENT_TARGET is specified, don't append
MACOSX_DEPLOYMENT_TARGET flags.
@refack
Copy link
Contributor

refack commented May 2, 2019

Could you upstream this to https://github.com/refack/GYP since there changes get much more extensive CI testing (BTW any help in stabilizing refack/GYP3#35 would be much appreciated).

@refack
Copy link
Contributor

refack commented May 2, 2019

P.S. @shawwn thank you very much for the contribution 🎩

@shawwn
Copy link
Author

shawwn commented May 2, 2019

@refack Sure, here you go: refack/GYP3#42

@rvagg
Copy link
Member

rvagg commented Jun 20, 2019

got merged at refack/GYP3#42, I assume that'll come back here at some point soon @refack?

@rvagg rvagg closed this Jun 20, 2019
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.

3 participants