mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-11-23 07:50:03 +00:00
Merge pull request #178 from yoshisuga/ios-tvos-unistd
[iOS][tvOS] Add -DHAVE_UNISTD_H flag to compile zlib
This commit is contained in:
commit
1492251aed
3
Makefile
3
Makefile
@ -161,7 +161,7 @@ else ifneq (,$(findstring ios,$(platform)))
|
|||||||
IPHONEMINVER = -miphoneos-version-min=5.0
|
IPHONEMINVER = -miphoneos-version-min=5.0
|
||||||
endif
|
endif
|
||||||
LDFLAGS += $(IPHONEMINVER)
|
LDFLAGS += $(IPHONEMINVER)
|
||||||
FLAGS += $(IPHONEMINVER)
|
FLAGS += $(IPHONEMINVER) -DHAVE_UNISTD_H
|
||||||
CC += $(IPHONEMINVER)
|
CC += $(IPHONEMINVER)
|
||||||
CXX += $(IPHONEMINVER)
|
CXX += $(IPHONEMINVER)
|
||||||
|
|
||||||
@ -170,6 +170,7 @@ else ifeq ($(platform), tvos-arm64)
|
|||||||
TARGET := $(TARGET_NAME)_libretro_tvos.dylib
|
TARGET := $(TARGET_NAME)_libretro_tvos.dylib
|
||||||
fpic := -fPIC
|
fpic := -fPIC
|
||||||
SHARED := -dynamiclib
|
SHARED := -dynamiclib
|
||||||
|
FLAGS += -DHAVE_UNISTD_H
|
||||||
|
|
||||||
ifeq ($(IOSSDK),)
|
ifeq ($(IOSSDK),)
|
||||||
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
|
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
|
||||||
|
Loading…
Reference in New Issue
Block a user