mirror of
https://github.com/libretro/beetle-pce-fast-libretro.git
synced 2024-11-27 01:50:21 +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
|
||||
endif
|
||||
LDFLAGS += $(IPHONEMINVER)
|
||||
FLAGS += $(IPHONEMINVER)
|
||||
FLAGS += $(IPHONEMINVER) -DHAVE_UNISTD_H
|
||||
CC += $(IPHONEMINVER)
|
||||
CXX += $(IPHONEMINVER)
|
||||
|
||||
@ -170,6 +170,7 @@ else ifeq ($(platform), tvos-arm64)
|
||||
TARGET := $(TARGET_NAME)_libretro_tvos.dylib
|
||||
fpic := -fPIC
|
||||
SHARED := -dynamiclib
|
||||
FLAGS += -DHAVE_UNISTD_H
|
||||
|
||||
ifeq ($(IOSSDK),)
|
||||
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
|
||||
|
Loading…
Reference in New Issue
Block a user