aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/funcs.mk
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2023-01-18 19:21:13 +0100
committertobtoht <tob@featherwallet.org>2023-01-25 21:52:42 +0100
commit15384cc1353f434315ab5244bb59f99d937d810f (patch)
tree4dcabe7a840aefb6ea21044cc3e1db8cb85e65e1 /contrib/depends/funcs.mk
parentMerge pull request #8676 (diff)
downloadmonero-15384cc1353f434315ab5244bb59f99d937d810f.tar.xz
depends: bump hidapi/libusb
fixes Trezor connectivity issues on Windows 10/11 Co-authored-by: selsta <selsta@sent.at>
Diffstat (limited to 'contrib/depends/funcs.mk')
-rw-r--r--contrib/depends/funcs.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/depends/funcs.mk b/contrib/depends/funcs.mk
index 804125990..66555aad7 100644
--- a/contrib/depends/funcs.mk
+++ b/contrib/depends/funcs.mk
@@ -143,8 +143,11 @@ $(1)_config_env+=PKG_CONFIG_PATH=$($($(1)_type)_prefix)/share/pkgconfig
$(1)_config_env+=PATH="$(build_prefix)/bin:$(PATH)"
$(1)_build_env+=PATH="$(build_prefix)/bin:$(PATH)"
$(1)_stage_env+=PATH="$(build_prefix)/bin:$(PATH)"
-$(1)_autoconf=./configure --host=$($($(1)_type)_host) --disable-dependency-tracking --prefix=$($($(1)_type)_prefix) $$($(1)_config_opts) CC="$$($(1)_cc)" CXX="$$($(1)_cxx)"
+$(1)_autoconf=./configure --host=$($($(1)_type)_host) --prefix=$($($(1)_type)_prefix) $$($(1)_config_opts) CC="$$($(1)_cc)" CXX="$$($(1)_cxx)"
+ifneq ($(1),libusb)
+$(1)_autoconf += --disable-dependency-tracking
+endif
ifneq ($($(1)_nm),)
$(1)_autoconf += NM="$$($(1)_nm)"
endif