diff options
author | Tasuku Suzuki <tasuku.suzuki@qbc.io> | 2019-07-15 01:36:55 +0900 |
---|---|---|
committer | Tasuku Suzuki <tasuku.suzuki@qbc.io> | 2020-02-17 23:10:51 +0900 |
commit | 58dac07ba3a0ffdb06fd62da9439268cb70363e1 (patch) | |
tree | a347c7637d40ad894160233d83e70f7a3a2997cb /src/corelib/configure.json | |
parent | c8e00e4f7333ada3cd47282efc3c47eee32e7160 (diff) |
Fix build without features.thread
Disable forkfd when thread is disabled to fix the error below.
forkfd_qt.cpp:(.text+0x953): undefined reference to `pthread_once'
Change-Id: I79414c8ba84d4f5641a64d52b869329f32530c0e
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/corelib/configure.json')
-rw-r--r-- | src/corelib/configure.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/configure.json b/src/corelib/configure.json index 667f6e2104..202ab3cbfc 100644 --- a/src/corelib/configure.json +++ b/src/corelib/configure.json @@ -890,7 +890,7 @@ "label": "QProcess", "purpose": "Supports external process invocation.", "section": "File I/O", - "condition": "features.processenvironment && !config.winrt && !config.uikit && !config.integrity && !config.vxworks && !config.rtems", + "condition": "features.processenvironment && (features.thread || !config.unix) && !config.winrt && !config.uikit && !config.integrity && !config.vxworks && !config.rtems", "output": [ "publicFeature", "feature" ] }, "processenvironment": { |