diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2019-09-23 17:13:24 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2019-10-10 07:40:49 +0000 |
commit | 73ed687cf11cb2d4e7f263ef5754039b96b69aaa (patch) | |
tree | c01dcb59c5c6b32d8c4f5ce0bd667b39a5cf323f /src/plugins/plugins.pri | |
parent | c84f4c258ef91c76e19198d7eeb64291d0171938 (diff) |
Fix static build
Make sure we link in the generator plugins.
Fixes: QBS-1491
Change-Id: I8c48a73f972c4089cfc8c097a67e2945837e9ed4
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/plugins/plugins.pri')
-rw-r--r-- | src/plugins/plugins.pri | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/plugins/plugins.pri b/src/plugins/plugins.pri index 393f1d24d..43d7dcfac 100644 --- a/src/plugins/plugins.pri +++ b/src/plugins/plugins.pri @@ -1,12 +1,7 @@ -include(../library_dirname.pri) -include(../install_prefix.pri) +include(qbs_plugin_common.pri) -!isEmpty(QBS_PLUGINS_BUILD_DIR) { - destdirPrefix = $${QBS_PLUGINS_BUILD_DIR} -} else { - destdirPrefix = $$shadowed($$PWD)/../../$${QBS_LIBRARY_DIRNAME} -} -DESTDIR = $${destdirPrefix}/qbs/plugins +TARGET = $$qbsPluginTarget +DESTDIR = $$qbsPluginDestDir isEmpty(QBSLIBDIR): QBSLIBDIR = $$OUT_PWD/../../../../$${QBS_LIBRARY_DIRNAME} isEmpty(QBS_RPATH): QBS_RPATH = ../.. @@ -15,7 +10,7 @@ include($${PWD}/../lib/corelib/use_corelib.pri) TEMPLATE = lib CONFIG += c++14 -CONFIG += create_prl +CONFIG(static, static|shared): CONFIG += create_prl unix: CONFIG += plugin !isEmpty(QBS_PLUGINS_INSTALL_DIR): \ |