Skip to content

Commit

Permalink
contrib: Fix wrong deployment target on macOS
Browse files Browse the repository at this point in the history
This adds MACOSX_DEPLOYMENT_TARGET (which will be set to the value of
the MIN_OSX_VERSION variable) so contribs that only use xcodebuild
(like BGHUDKit) will use the correct deployment target.
  • Loading branch information
ePirat committed Oct 30, 2016
1 parent da64923 commit feab01c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/src/main.mak
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ EXTRA_CFLAGS += -m32
EXTRA_LDFLAGS += -m32
endif

XCODE_FLAGS = -sdk macosx$(OSX_VERSION) -arch $(ARCH)
XCODE_FLAGS = MACOSX_DEPLOYMENT_TARGET=$(MIN_OSX_VERSION) -sdk macosx$(OSX_VERSION) -arch $(ARCH)

endif

Expand Down

0 comments on commit feab01c

Please sign in to comment.