summaryrefslogtreecommitdiffstats
path: root/installerfw.pri
diff options
context:
space:
mode:
Diffstat (limited to 'installerfw.pri')
-rw-r--r--installerfw.pri5
1 files changed, 3 insertions, 2 deletions
diff --git a/installerfw.pri b/installerfw.pri
index 5ca3f144e..97fd94e1b 100644
--- a/installerfw.pri
+++ b/installerfw.pri
@@ -68,9 +68,10 @@ CONFIG += depend_includepath
GIT_SHA1 = $$system(git rev-list --abbrev-commit -n1 HEAD)
DEFINES += QT_NO_CAST_FROM_ASCII "_GIT_SHA1_=$$GIT_SHA1"
-
static {
+ equals(TEMPLATE, app):LIBS += -l7z
+ macx:equals(TEMPLATE, app):CONFIG -= app_bundle
+
win32:exists($$IFW_LIB_PATH/installer.lib):POST_TARGETDEPS += $$IFW_LIB_PATH/installer.lib
unix:exists($$IFW_LIB_PATH/libinstaller.a):POST_TARGETDEPS += $$IFW_LIB_PATH/libinstaller.a
- macx:equals(TEMPLATE, app):CONFIG -= app_bundle
}