summaryrefslogtreecommitdiffstats
path: root/src/corelib/configure.json
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2020-08-12 12:46:49 +0200
committerCristian Adam <cristian.adam@gmail.com>2020-08-12 16:12:48 +0200
commit6b488d89507e4d252b05225a203183b5e83e92ac (patch)
treed7ee27dd61d37de20944c077618a110a42d3bd8d /src/corelib/configure.json
parent95946222e6615cdf731f266530d4dc2db0f28a92 (diff)
Configure.json: Do not link to pthread on Android on feature testing
pthread has been removed from the NDK and the cxx11_feature detection fails. Fixes: QTBUG-72330 Change-Id: I22a97814b7e95011ad3944327f02343348c72b91 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib/configure.json')
-rw-r--r--src/corelib/configure.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/configure.json b/src/corelib/configure.json
index ac4bc1dd32..4557212a76 100644
--- a/src/corelib/configure.json
+++ b/src/corelib/configure.json
@@ -319,7 +319,7 @@
"std::future<int> f = std::async([]() { return 42; });",
"(void)f.get();"
],
- "qmake": "unix:LIBS += -lpthread"
+ "qmake": "unix:!android:LIBS += -lpthread"
}
},
"cxx11_random": {