diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2016-02-22 10:57:32 +0100 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2016-02-22 16:10:58 +0000 |
commit | 5dd4bb67cfce812fd7686e43616e2069f354a7df (patch) | |
tree | f39c40208cb473dd06226198bd714d212f135004 | |
parent | e9b369b16f5b6070d11888474f1b652db6f4b4e2 (diff) | |
download | qtwebkit-5dd4bb67cfce812fd7686e43616e2069f354a7df.tar.gz |
Fix linking with libpthread
WebKit use libpthread directly but is depending on other qt modules
causing it to be linked against, which might break unless -lpthread
is last. Instead just add it explicitly after the static libraries.
Change-Id: I2b95cff2c96373f8dce6f95052c4fccbe1982b33
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
-rw-r--r-- | Tools/qmake/mkspecs/features/default_post.prf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/qmake/mkspecs/features/default_post.prf b/Tools/qmake/mkspecs/features/default_post.prf index 67276b74b..39bb3f7ae 100644 --- a/Tools/qmake/mkspecs/features/default_post.prf +++ b/Tools/qmake/mkspecs/features/default_post.prf @@ -201,6 +201,7 @@ needToLink() { linkAgainstLibrary($$library, $$eval(WEBKIT.$${library_identifier}.root_source_dir)) LIBS += $$eval(WEBKIT.$${library_identifier}.dependent_libs) } + posix:!darwin: LIBS += -lpthread } creating_module { |