diff options
| author | xiphon <xiphon@protonmail.com> | 2019-05-22 11:19:09 +0000 |
|---|---|---|
| committer | xiphon <xiphon@protonmail.com> | 2019-05-22 11:19:09 +0000 |
| commit | 07bda54c4101f90eb85cbcae73dab3cf5491e317 (patch) | |
| tree | 315091294ed6eccf358a54c4a15faa2592e81a8e | |
| parent | fbd6d683ede4e01ffc9c3e6d104fbf578969a5e8 (diff) | |
| download | monzero-gui-07bda54c4101f90eb85cbcae73dab3cf5491e317.tar.gz monzero-gui-07bda54c4101f90eb85cbcae73dab3cf5491e317.tar.xz monzero-gui-07bda54c4101f90eb85cbcae73dab3cf5491e317.zip | |
build: Windows link against setupapi (hidapi dependency)
| -rw-r--r-- | monero-wallet-gui.pro | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/monero-wallet-gui.pro b/monero-wallet-gui.pro index 86072b68..3d4f7b9e 100644 --- a/monero-wallet-gui.pro +++ b/monero-wallet-gui.pro @@ -258,6 +258,14 @@ win32 { QMAKE_LFLAGS += -static-libgcc -static-libstdc++ LIBS+= \ + -Wl,-Bdynamic \ + -lwinscard \ + -lws2_32 \ + -lwsock32 \ + -lIphlpapi \ + -lcrypt32 \ + -lhidapi \ + -lgdi32 $$TREZOR_LINKER \ -Wl,-Bstatic \ -lboost_serialization-mt \ -lboost_thread-mt \ @@ -275,17 +283,10 @@ win32 { -licutu \ -liconv \ -lpthread \ + -lsetupapi \ -lssl \ -lsodium \ - -lcrypto \ - -Wl,-Bdynamic \ - -lwinscard \ - -lws2_32 \ - -lwsock32 \ - -lIphlpapi \ - -lcrypt32 \ - -lhidapi \ - -lgdi32 $$TREZOR_LINKER + -lcrypto !contains(QMAKE_TARGET.arch, x86_64) { message("Target is 32bit") |
