Skip to content

Commit

Permalink
update Makefile method for finding OSX_SDK_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
richard42 committed Nov 15, 2017
1 parent 8443927 commit 2b31626
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions projects/unix/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,7 @@ ifeq ($(OS), LINUX)
endif
endif
ifeq ($(OS), OSX)
#xcode-select has been around since XCode 3.0, i.e. OS X 10.5
OSX_SDK_ROOT = $(shell xcode-select -print-path)/Platforms/MacOSX.platform/Developer/SDKs
OSX_SDK_PATH = $(OSX_SDK_ROOT)/$(shell ls $(OSX_SDK_ROOT) | tail -1)
OSX_SDK_PATH = $(shell xcrun --sdk macosx --show-sdk-path)

TARGET = libmupen64plus$(POSTFIX).dylib
LDFLAGS += -framework CoreFoundation -dynamiclib
Expand Down

0 comments on commit 2b31626

Please sign in to comment.