summaryrefslogtreecommitdiffstats
path: root/installerfw.pri
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@nokia.com>2012-06-12 15:07:30 +0200
committerTim Jenssen <tim.jenssen@nokia.com>2012-06-12 15:34:55 +0200
commit99e489c191557e319d923e0a5ea7276e85742550 (patch)
treee748f0a9e610e543456413a43f9d9bb4430425c9 /installerfw.pri
parentcf6ac7ea81906a9640b5b9ef2281c3dc4d2b69fd (diff)
fix openpty static link problem
- as the linker only adds symbols which are needed, the order of the libraries are important Change-Id: Iad8e5a5015cc5949be9b8f0b01702a7f854f6d95 Reviewed-by: Rainer Keller <rainer.keller@nokia.com> Reviewed-by: Jason McDonald <jason.mcdonald@nokia.com>
Diffstat (limited to 'installerfw.pri')
-rw-r--r--installerfw.pri2
1 files changed, 2 insertions, 0 deletions
diff --git a/installerfw.pri b/installerfw.pri
index 2d1915ec6..86618d6d3 100644
--- a/installerfw.pri
+++ b/installerfw.pri
@@ -46,6 +46,8 @@ win32:INCLUDEPATH += $$IFW_SOURCE_TREE/src/libs/7zip/win/CPP
unix:INCLUDEPATH += $$IFW_SOURCE_TREE/src/libs/7zip/unix/CPP
LIBS += -L$$IFW_LIB_PATH
+# The order is important. The linker needs to parse archives in reversed dependency order.
+equals(TEMPLATE, app):LIBS += -linstaller
unix:!macx:LIBS += -lutil
macx:LIBS += -framework Carbon -framework Security