mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-23 16:59:49 +00:00
Merge pull request #536 from yoshisuga/tvos_platform
(tvOS) support building
This commit is contained in:
commit
e4c36745a3
12
Makefile
12
Makefile
@ -135,7 +135,7 @@ else ifneq (,$(findstring ios,$(platform)))
|
||||
ifeq ($(HAVE_OPENGL),1)
|
||||
GL_LIB := -framework OpenGLES
|
||||
endif
|
||||
|
||||
|
||||
CC = cc -arch $(iarch) -isysroot $(IOSSDK)
|
||||
CXX = c++ -arch $(iarch) -isysroot $(IOSSDK)
|
||||
IPHONEMINVER :=
|
||||
@ -149,6 +149,16 @@ else ifneq (,$(findstring ios,$(platform)))
|
||||
CC += $(IPHONEMINVER)
|
||||
CXX += $(IPHONEMINVER)
|
||||
|
||||
# tvOS
|
||||
else ifeq ($(platform), tvos-arm64)
|
||||
TARGET := $(TARGET_NAME)_libretro_tvos.dylib
|
||||
fpic := -fPIC
|
||||
SHARED := -dynamiclib
|
||||
|
||||
ifeq ($(IOSSDK),)
|
||||
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
|
||||
endif
|
||||
|
||||
# QNX
|
||||
else ifeq ($(platform), qnx)
|
||||
TARGET := $(TARGET_NAME)_libretro_$(platform).so
|
||||
|
Loading…
Reference in New Issue
Block a user