summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2021-08-25 11:22:04 +0200
committerMichal Klocek <michal.klocek@qt.io>2021-08-30 19:48:20 +0200
commitb6cd55e60f42b5ebde1ebbf2977488e91a4e408b (patch)
treea393bb5fd4b606f7e692eb2f9963897cd218c39e /src
parenteac950fad133f49badc969f44ee4dc0a13a25697 (diff)
Add workaround for not working linking with bfd linker
Removal of external project removed also workaround for coin bug, which is still not fixed. Add linker launcher in case maximum number of open files is below 4096 on linux for WebEngineCore target. This launches bash script wrapper which sets ulimit. This is poor man workaround and requires cmake 3.21 to work. Task-number: COIN-699 Task-number: QTBUG-95590 Change-Id: Ib9d0c4ced988d4692746e51f3abbe63ff5085836 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io> (cherry picked from commit c18a4d6f354838ea3edfb18d31007237dad08aa6)
Diffstat (limited to 'src')
-rw-r--r--src/core/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 74ae345dc..ba743b33e 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -463,6 +463,9 @@ target_include_directories(WebEngineCore PRIVATE
add_gn_build_aritfacts_to_target(WebEngineCore QtWebEngineCore core ${buildDir})
add_dependencies(WebEngineCore run_core_NinjaDone)
+if(COIN_BUG_699)
+ set_property(TARGET WebEngineCore PROPERTY CXX_LINKER_LAUNCHER ${PROJECT_BINARY_DIR}/linker_ulimit.sh)
+endif()
##
# SANDBOX