Fix --exceptions flag usage on INTEGRITY

When an executable is being linked and uses a library that has been
built with exceptions enabled, the executable will need the exceptions
flag in order to link in the exceptions handling code.

Change-Id: I3acdb571afbbcaf860fb0ef0482f704f605a9bbe
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
This commit is contained in:
Kimmo Ollila 2017-01-14 14:30:04 +02:00 committed by Kimmo Ollila
parent daf2aa0047
commit d2d9d26b1e

View File

@ -64,6 +64,11 @@ else: \
MODULE_DEFINE = QT_$${ucmodule}_LIB
MODULE_DEFINES = $$MODULE_DEFINE $$MODULE_DEFINES
# Make sure that the supporting runtime is linked into the application when
# the module is built with exceptions enabled.
integrity:CONFIG(exceptions, exceptions|exceptions_off): \
MODULE_CONFIG += exceptions
load(qt_build_paths)
header_module {