1
0
mirror of https://github.com/GOSTSec/gostcoin synced 2025-02-05 19:34:16 +00:00

libqrencode linux fix

This commit is contained in:
R4SAS 2017-12-18 14:35:11 +00:00
parent 1d9840180c
commit c3c2cc2468

View File

@ -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