mirror of
https://github.com/libretro/libretro-prboom.git
synced 2024-11-23 16:09:41 +00:00
[fix] link with CoreFoundation framework for osx and ios
This commit is contained in:
parent
1ddc0c12f7
commit
cea418d67b
2
Makefile
2
Makefile
@ -92,12 +92,14 @@ endif
|
||||
OSXVER = `sw_vers -productVersion | cut -d. -f 2`
|
||||
OSX_LT_MAVERICKS = `(( $(OSXVER) <= 9)) && echo "YES"`
|
||||
fpic += -mmacosx-version-min=10.1
|
||||
LDFLAGS += -framework CoreFoundation
|
||||
|
||||
# iOS
|
||||
else ifneq (,$(findstring ios,$(platform)))
|
||||
EXT ?= dylib
|
||||
TARGET := $(TARGET_NAME)_libretro_ios.$(EXT)
|
||||
fpic := -fPIC
|
||||
LDFLAGS += -framework CoreFoundation
|
||||
SHARED := -dynamiclib
|
||||
|
||||
ifeq ($(IOSSDK),)
|
||||
|
Loading…
Reference in New Issue
Block a user