mirror of https://github.com/bsnes-emu/bsnes.git
Use brew's SDL2 on macOS
This commit is contained in:
parent
385cd1b8c7
commit
17c97c3c2b
1
Makefile
1
Makefile
|
@ -125,7 +125,6 @@ SYSROOT := $(shell xcodebuild -sdk macosx -version Path 2> $(NULL))
|
||||||
CFLAGS += -F/Library/Frameworks -mmacosx-version-min=10.9
|
CFLAGS += -F/Library/Frameworks -mmacosx-version-min=10.9
|
||||||
OCFLAGS += -x objective-c -fobjc-arc -Wno-deprecated-declarations -isysroot $(SYSROOT)
|
OCFLAGS += -x objective-c -fobjc-arc -Wno-deprecated-declarations -isysroot $(SYSROOT)
|
||||||
LDFLAGS += -framework AppKit -framework PreferencePanes -framework Carbon -framework QuartzCore -weak_framework Metal -weak_framework MetalKit -mmacosx-version-min=10.9
|
LDFLAGS += -framework AppKit -framework PreferencePanes -framework Carbon -framework QuartzCore -weak_framework Metal -weak_framework MetalKit -mmacosx-version-min=10.9
|
||||||
SDL_LDFLAGS := -F/Library/Frameworks -framework SDL2
|
|
||||||
GL_LDFLAGS := -framework OpenGL
|
GL_LDFLAGS := -framework OpenGL
|
||||||
endif
|
endif
|
||||||
CFLAGS += -Wno-deprecated-declarations
|
CFLAGS += -Wno-deprecated-declarations
|
||||||
|
|
Loading…
Reference in New Issue