Merge bitcoin/bitcoin#24093: build: specify hosts for qrencode package

bf044ef9ecc93a69619cbaa9fa2b874d5fc06932 build: specify hosts for qrencode package (fanquake)

Pull request description:

  Similar to how we specify the OS's we build Qt for, specify which OS's
  we will build qrencode for (a qt dependency). This commit alone doesn't
  change anything, but when we start supporting other OS's, i.e #23948,
  where we wont support qt (or at least initially), it'll skip building
  the qrencode package, which would be unused.

  I'll rebase the other *BSD changes on top of this.

ACKs for top commit:
  hebasto:
    ACK bf044ef9ecc93a69619cbaa9fa2b874d5fc06932, I have reviewed the code and it looks OK, I agree it can be merged.

Tree-SHA512: 3f5f11f122704a664dd77d8da0b7e9b95d44b2f1514d0199deed9b8b8ad0d8883a1de1f444b796c5f4681f423a380c3905fce720d7d2b788130162c907c2ce3b
This commit is contained in:
fanquake 2022-01-19 20:37:06 +08:00 committed by pasta
parent 93e70903ce
commit 4e6b49d6f6
No known key found for this signature in database
GPG Key ID: 52527BEDABE87984
2 changed files with 5 additions and 2 deletions

View File

@ -131,7 +131,7 @@ build_id_string+=system_clang
$(host_arch)_$(host_os)_id_string+=system_clang
endif
qrencode_packages_$(NO_QR) = $(qrencode_packages)
qrencode_packages_$(NO_QR) = $(qrencode_$(host_os)_packages)
qt_packages_$(NO_QT) = $(qt_packages) $(qt_$(host_os)_packages) $(qt_$(host_arch)_$(host_os)_packages) $(qrencode_packages_)

View File

@ -2,7 +2,10 @@ packages:=boost libevent gmp bls-dash backtrace cmake immer
qt_linux_packages:=qt expat dbus libxcb xcb_proto libXau xproto freetype fontconfig libxkbcommon
qrencode_packages = qrencode
qrencode_linux_packages = qrencode
qrencode_android_packages = qrencode
qrencode_darwin_packages = qrencode
qrencode_mingw32_packages = qrencode
qt_android_packages=qt
qt_darwin_packages=qt