From 9f58e29f1c4833e6af1c3da1a54555caa3b4e7bf Mon Sep 17 00:00:00 2001 From: iDunk5400 Date: Sat, 31 Mar 2018 15:46:56 +0200 Subject: [PATCH] Add libpcsclite to link line if libwallet_merged is linked against it This fixes unresolved dependencies when linking monero-wallet-gui if libwallet_merged was built with HW device support. --- monero-wallet-gui.pro | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/monero-wallet-gui.pro b/monero-wallet-gui.pro index 50d3e0e0..eff20837 100644 --- a/monero-wallet-gui.pro +++ b/monero-wallet-gui.pro @@ -4,7 +4,10 @@ QT += qml quick widgets WALLET_ROOT=$$PWD/monero -CONFIG += c++11 +CONFIG += c++11 link_pkgconfig +packagesExist(libpcsclite) { + PKGCONFIG += libpcsclite +} QMAKE_CXXFLAGS += -fPIC -fstack-protector QMAKE_LFLAGS += -fstack-protector