fix double installation of ANGLE libraries in static+dynamicgl builds
CONFIG static/shared needs to be manipulated before it is used by
qt_installs.prf (via qt_helper_lib.prf via config.pri).
amends 2311997
.
Task-number: QTBUG-54109
Change-Id: Icb53f3170e6d6f09d60b77a221f4f239c6e6721f
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
This commit is contained in:
parent
5c38740031
commit
32a3bcb359
@ -1,3 +1,9 @@
|
|||||||
|
# static builds should still link ANGLE dynamically when dynamic GL is enabled
|
||||||
|
static:contains(QT_CONFIG, dynamicgl) {
|
||||||
|
CONFIG -= static
|
||||||
|
CONFIG += shared
|
||||||
|
}
|
||||||
|
|
||||||
CONFIG += installed
|
CONFIG += installed
|
||||||
include (../config.pri)
|
include (../config.pri)
|
||||||
|
|
||||||
@ -48,10 +54,4 @@ winrt|if(msvc:!win32-msvc2005:!win32-msvc2008:!win32-msvc2010) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# static builds should still link ANGLE dynamically when dynamic GL is enabled
|
|
||||||
static:contains(QT_CONFIG, dynamicgl) {
|
|
||||||
CONFIG -= static
|
|
||||||
CONFIG += shared
|
|
||||||
}
|
|
||||||
|
|
||||||
static: DEFINES *= LIBGLESV2_EXPORT_H_ ANGLE_EXPORT=
|
static: DEFINES *= LIBGLESV2_EXPORT_H_ ANGLE_EXPORT=
|
||||||
|
Loading…
Reference in New Issue
Block a user