mirror of
https://github.com/libretro/bsnes-libretro.git
synced 2024-11-27 11:00:47 +00:00
fixed building for iOS/tvOS
This commit is contained in:
parent
db94af8c04
commit
55cade4577
@ -24,13 +24,7 @@ else ifeq ($(platform),windows)
|
||||
else ifeq ($(platform),macos)
|
||||
$(strip $(compiler) -o out/$(name).dylib -shared $(objects) $(options))
|
||||
else ifeq ($(platform), ios-arm64)
|
||||
# ifeq ($(IOSSDK),)
|
||||
# IOSSDK := $(shell xcodebuild -version -sdk iphoneos Path)
|
||||
# endif
|
||||
$(strip c++ -arch arm64 -marm -miphoneos-version-min=11.0 -isysroot $(shell xcodebuild -version -sdk iphoneos Path) -o out/$(name)_ios.dylib -shared $(objects) -lpthread -ldl)
|
||||
else ifeq ($(platform), tvos-arm64)
|
||||
# ifeq ($(IOSSDK),)
|
||||
# IOSSDK := $(shell xcodebuild -version -sdk appletvos Path)
|
||||
# endif
|
||||
$(strip c++ -arch arm64 -marm -mtvos-version-min=11.0 -isysroot $(shell xcodebuild -version -sdk appletvos Path) -o out/$(name)_tvos.dylib -shared $(objects) -lpthread -ldl)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user