mirror of
https://github.com/libretro/beetle-psx-libretro.git
synced 2024-11-23 08:49:47 +00:00
Merge pull request #764 from yoshisuga/ios-tvos-unistd
[iOS][tvOS] Add -DHAVE_UNISTD_H flag to compile zlib
This commit is contained in:
commit
91f34cf864
3
Makefile
3
Makefile
@ -174,7 +174,7 @@ else ifneq (,$(findstring ios,$(platform)))
|
||||
endif
|
||||
HAVE_LIGHTREC = 0
|
||||
LDFLAGS += $(IPHONEMINVER)
|
||||
FLAGS += $(IPHONEMINVER)
|
||||
FLAGS += $(IPHONEMINVER) -DHAVE_UNISTD_H
|
||||
CC += $(IPHONEMINVER)
|
||||
CXX += $(IPHONEMINVER)
|
||||
|
||||
@ -184,6 +184,7 @@ else ifeq ($(platform), tvos-arm64)
|
||||
fpic := -fPIC
|
||||
SHARED := -dynamiclib
|
||||
HAVE_LIGHTREC = 0
|
||||
FLAGS += -DHAVE_UNISTD_H
|
||||
|
||||
ifeq ($(IOSSDK),)
|
||||
IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
|
||||
|
Loading…
Reference in New Issue
Block a user