From c3c2cc24689a1de4c2864ce1d9fbbe53af76d50f Mon Sep 17 00:00:00 2001 From: R4SAS Date: Mon, 18 Dec 2017 14:35:11 +0000 Subject: [PATCH] libqrencode linux fix --- gostcoin-qt.pro | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gostcoin-qt.pro b/gostcoin-qt.pro index 21e5a0f..c86620a 100644 --- a/gostcoin-qt.pro +++ b/gostcoin-qt.pro @@ -61,7 +61,8 @@ win32:LIBS *= -lstdc++ -lpthread contains(USE_QRCODE, 1) { message(Building with QRCode support) DEFINES += USE_QRCODE - LIBS += -lqrencode + # defining for linux later, in dynamic section + win32:LIBS += -lqrencode } @@ -437,6 +438,11 @@ contains(RELEASE, 1) { LIBS += -Wl,-Bdynamic } } + +contains(USE_QRCODE, 1) { + !win32:LIBS += -lqrencode +} + # Add LibDL firstly here !win32:LIBS += -ldl