Commit 19cae9dd authored by Jake Petroules's avatar Jake Petroules
Browse files

Fix build of pinyin plugin on platforms without pthread


...such as VxWorks. Normally, the Qt dependency pulls in pthread,
because the qt feature adds the thread feature (which in turn adds
pthread and other necessary flags to the compiler and linker command
lines), but in this case we don't have Qt so it must be manually added.

Use the higher level abstraction instead of the direct -pthread flag,
so that the compiler and linker flags used are taken from mkspecs.

Task-number: QTBUG-63516
Change-Id: I88876810129078dfe4898314e45379ff87f95b80
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@qt.io>
Showing with 1 addition and 1 deletion
......@@ -55,5 +55,5 @@ win32 {
CONFIG += qt
QT = core
} else {
LIBS += -pthread
CONFIG *= thread
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment