mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-23 08:49:47 +00:00
(tvOS) support building
This commit is contained in:
parent
e34300dd8d
commit
8faccaf6dc
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