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:
parent
daf2aa0047
commit
d2d9d26b1e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user