-
Notifications
You must be signed in to change notification settings - Fork 513
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
Updated the darwin area of the Makefile to more accurate variable nam… #100
Conversation
…es: changed OS_VERSION to OSX_SDK_VERSION.
…version and OS X version.
Most of these changes are based upon @tl0gic comments to my last PR. Thanks! |
Hi @tl0gic - will you take this - I've already too much mess to the macos :) |
endif | ||
|
||
ifneq (,$(findstring 10.12,$(OSX_SDK_VERSION))) | ||
SDK_NAME := "macosx10.12" | ||
else ifneq (,$(findstring 10.11,$(OSX_SDK_VERSION))) | ||
# El Capitan didn't break compatibility | ||
SDK_NAME := "macosx10.11" |
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.
I think we can avoid the if/else conditions here if we do something like this:
SDK_NAME := macosx$(OSX_SDK_VERSION)
What do you think?
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.
Yeah, def, let me give that a shot!
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.
@tl0gic Please take a look now; let me know what you think!
Hey @robertswiecki, sure thing! @aaronc100 thanks for doing this! I think overall it looks good, I left you one small comment. Let me know what you think. |
…for operating on SDK version.
…es: changed OS_VERSION to OSX_SDK_VERSION.