mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-06 13:47:56 +02:00
Merge bitcoin/bitcoin#34878: depends: Fix cross-compiling on macOS for Windows
7a9304f887depends: Fix cross-compiling on macOS for Windows (Hennadii Stepanov) Pull request description: 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`. Fixes https://github.com/bitcoin/bitcoin/issues/34874. ACKs for top commit: fanquake: ACK7a9304f887Tree-SHA512: ef3349de19f3cdb6f445d44f8650815ded5dbe359faafc02941b2f2f0296905aaaac67a4916372b17de58bebabcbcdcbc21af6fe255ebb8f4cdfab00ff257602
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