ANGLE: Always use DEF_FILE on Windows

Building ANGLE with MinGW results in too many symbols being exported in
the DLLs. Always use DEF_FILE on Windows to limit the symbols exported
and eliminate symbol conflicts when libEGL/libGLESv2 is linked by other
libraries that include their own version of ANGLE (e.g. QtWebKit).

Change-Id: I7bb1f90d9996eabf30095323e9399efa1c23e3a1
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
Jonathan Liu 2012-12-16 04:22:11 +11:00 committed by The Qt Project
parent f55ce22628
commit b7fd19b434
2 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ SOURCES += \
$$ANGLE_DIR/src/libEGL/main.cpp \
$$ANGLE_DIR/src/libEGL/Surface.cpp
msvc:DEF_FILE = $$ANGLE_DIR/src/libEGL/$${TARGET}.def
!static:DEF_FILE = $$ANGLE_DIR/src/libEGL/$${TARGET}.def
load(qt_installs)

View File

@ -67,7 +67,7 @@ SOURCES += \
SSE2_SOURCES += $$ANGLE_DIR/src/libGLESv2/TextureSSE2.cpp
msvc:DEF_FILE = $$ANGLE_DIR/src/libGLESv2/$${TARGET}.def
!static:DEF_FILE = $$ANGLE_DIR/src/libGLESv2/$${TARGET}.def
float_converter.target = float_converter
float_converter.commands = python $$ANGLE_DIR/src/libGLESv2/Float16ToFloat32.py \