Skip to content

Commit

Permalink
limit installation of ANGLE translator and preprocessor helper libraries
Browse files Browse the repository at this point in the history
libGLES2 (the only user of these libraries) is built dynamically even in
a static qt built when dynamicgl is configured. in this case the static
libraries need not be installed.

amends 2311997.

Change-Id: Ic9bc3937d6ee0d97e0ca7fc96596fa90ebfe8710
Reviewed-by: Joerg Bornemann <[email protected]>
  • Loading branch information
ossilator committed Jun 22, 2016
1 parent dc2fcd3 commit 5c38740
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mkspecs/features/qt_helper_lib.prf
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ DLLDESTDIR = $$MODULE_BASE_OUTDIR/bin

# In static builds of Qt, convenience libraries must be installed,
# as in this case they are not linked to the final library/plugin.
installed|contains(QT_CONFIG, static): load(qt_installs)
installed|if(!not_installed:contains(QT_CONFIG, static)): load(qt_installs)

TARGET = $$qt5LibraryTarget($$TARGET)
1 change: 1 addition & 0 deletions src/angle/src/compiler/preprocessor/preprocessor.pro
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
CONFIG += static
contains(QT_CONFIG, dynamicgl): CONFIG += not_installed
include(../../config.pri)

INCLUDEPATH = $$ANGLE_DIR/src/compiler/preprocessor
Expand Down
1 change: 1 addition & 0 deletions src/angle/src/compiler/translator.pro
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
CONFIG += static
contains(QT_CONFIG, dynamicgl): CONFIG += not_installed
include(../config.pri)

INCLUDEPATH += \
Expand Down

0 comments on commit 5c38740

Please sign in to comment.