aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriDunk5400 <iDunk5400@users.noreply.github.com>2018-03-31 15:46:56 +0200
committeriDunk5400 <iDunk5400@users.noreply.github.com>2018-03-31 19:54:51 +0200
commit9f58e29f1c4833e6af1c3da1a54555caa3b4e7bf (patch)
tree1aa58210b45f312174df4d0c2bb6886918f83a31
parent47dc499413824290e1bf1a3aefedc21f028933da (diff)
downloadmonzero-gui-9f58e29f1c4833e6af1c3da1a54555caa3b4e7bf.tar.gz
monzero-gui-9f58e29f1c4833e6af1c3da1a54555caa3b4e7bf.tar.xz
monzero-gui-9f58e29f1c4833e6af1c3da1a54555caa3b4e7bf.zip
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.
-rw-r--r--monero-wallet-gui.pro5
1 files changed, 4 insertions, 1 deletions
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