diff --git a/src/main/main.pro b/src/main/main.pro index 6e38e0e44..39bb5d005 100644 --- a/src/main/main.pro +++ b/src/main/main.pro @@ -11,8 +11,13 @@ mac: TARGET = QupZilla TEMPLATE = app +compile_libtool { +LIBS += $$QZ_DESTDIR/libQupZilla.la +} +else { !unix|mac: LIBS += -L$$QZ_DESTDIR -lQupZilla !mac:unix: LIBS += $$QZ_DESTDIR/libQupZilla.so +} unix:!contains(DEFINES, "DISABLE_DBUS") QT += dbus