Skip to content

Commit

Permalink
Fix linking with libpthread
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
carewolf authored and Simon Hausmann committed Feb 22, 2016
1 parent e9b369b commit 5dd4bb6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tools/qmake/mkspecs/features/default_post.prf
Expand Up @@ -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 {
Expand Down

0 comments on commit 5dd4bb6

Please sign in to comment.