Give iOS the same openssl build treatment as android and mingw. #11

This commit is contained in:
2024-02-21 20:23:35 -05:00
parent c01e00d77d
commit 4bfd9de100
2 changed files with 18 additions and 10 deletions

View File

@ -838,6 +838,13 @@ $(WINDOWS_DEPS):
$(filter $(BUILD_DIR)/win%,$(APP_OBJS)): | $(WINDOWS_DEPS)
endif
ifeq ($(UNAME_S),Darwin)
IOS_DEPS := deps/openssl/ios/usr/local/lib/libssl.a
$(IOS_DEPS):
+@tools/ssl-ios
$(filter $(BUILD_DIR)/ios%,$(APP_OBJS)): | $(IOS_DEPS)
endif
clean:
rm -rf $(BUILD_DIR)
.PHONY: clean