diff options
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/core_module.pro | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/core/core_module.pro b/src/core/core_module.pro index a7853e524..584ef83ae 100644 --- a/src/core/core_module.pro +++ b/src/core/core_module.pro @@ -26,15 +26,14 @@ use?(gn){ isEmpty(NINJA_LIBS): error("Missing library files from QtWebEngineCore linking pri") NINJA_OBJECTS = $$eval($$list($$NINJA_OBJECTS)) # Do manual response file linking for macOS and Linux - unix { - RSP_FILE = $$OUT_PWD/$$getConfigDir()/$${TARGET}.rsp - for(object, NINJA_OBJECTS): RSP_CONTENT += $$object - write_file($$RSP_FILE, RSP_CONTENT) - macos:LIBS_PRIVATE += -Wl,-filelist,$$shell_quote($$RSP_FILE) - linux:LIBS_PRIVATE += @$$RSP_FILE - } else { - OBJECTS = $$NINJA_OBJECTS - } + + RSP_FILE = $$OUT_PWD/$$getConfigDir()/$${TARGET}.rsp + for(object, NINJA_OBJECTS): RSP_CONTENT += $$object + write_file($$RSP_FILE, RSP_CONTENT) + macos:LIBS_PRIVATE += -Wl,-filelist,$$shell_quote($$RSP_FILE) + linux:LIBS_PRIVATE += @$$RSP_FILE + # QTBUG-58710 add main rsp file on windows + win32:QMAKE_LFLAGS += @$$RSP_FILE linux: LIBS_PRIVATE += -Wl,--start-group $$NINJA_ARCHIVES -Wl,--end-group else: LIBS_PRIVATE += $$NINJA_ARCHIVES LIBS_PRIVATE += $$NINJA_LIB_DIRS $$NINJA_LIBS |