mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 04:42:36 -03:00
build: Use Qt archive of the same version as the compiled binaries
This change fixes broken Android APK build when the `depends/sources` directory contains Qt source archives of different versions (e.g., Qt version update pull request in CI with the cached `depends/sources` directory).
This commit is contained in:
parent
8600934018
commit
cb7eba2a57
1 changed files with 2 additions and 1 deletions
|
@ -382,7 +382,8 @@ bitcoin_qt_clean: FORCE
|
||||||
bitcoin_qt : qt/bitcoin-qt$(EXEEXT)
|
bitcoin_qt : qt/bitcoin-qt$(EXEEXT)
|
||||||
|
|
||||||
APK_LIB_DIR = qt/android/libs/$(ANDROID_ARCH)
|
APK_LIB_DIR = qt/android/libs/$(ANDROID_ARCH)
|
||||||
QT_BASE_PATH = $(shell find ../depends/sources/ -maxdepth 1 -type f -regex ".*qtbase.*\.tar.xz")
|
QT_BASE_VERSION = $(lastword $(shell $(MOC) --version))
|
||||||
|
QT_BASE_PATH = $(shell find ../depends/sources/ -maxdepth 1 -type f -regex ".*qtbase.*$(QT_BASE_VERSION)\.tar.xz")
|
||||||
QT_BASE_TLD = $(shell tar tf $(QT_BASE_PATH) --exclude='*/*')
|
QT_BASE_TLD = $(shell tar tf $(QT_BASE_PATH) --exclude='*/*')
|
||||||
|
|
||||||
bitcoin_qt_apk: FORCE
|
bitcoin_qt_apk: FORCE
|
||||||
|
|
Loading…
Reference in a new issue