mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-06 05:37:50 +02:00
depends: Fix cross-compiling on macOS for Windows
1. Use `build_os` instead of `host_os` for native packages. 2. `XCODE_VERSION` is available only for `darwin` hosts. Therefore, simply disable the Xcode version check for `native_qt`.
This commit is contained in:
@@ -97,9 +97,9 @@ ifneq ($(V),)
|
||||
$(package)_cmake_opts += --log-level=STATUS
|
||||
endif
|
||||
|
||||
ifeq ($(host_os),darwin)
|
||||
$(package)_cmake_opts += -DQT_INTERNAL_XCODE_VERSION=$(XCODE_VERSION)
|
||||
ifeq ($(build_os),darwin)
|
||||
$(package)_cmake_opts += -DQT_NO_APPLE_SDK_MAX_VERSION_CHECK=ON
|
||||
$(package)_cmake_opts += -DQT_NO_XCODE_MIN_VERSION_CHECK=ON
|
||||
endif
|
||||
endef
|
||||
|
||||
|
||||
Reference in New Issue
Block a user