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>

(cherry-picked from qtwebkit/5dd4bb67cfce812fd7686e43616e2069f354a7df)
  • Loading branch information
carewolf authored and rburchell committed May 6, 2016
1 parent 60c54af commit 46a5330
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qtwebkit/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 46a5330

Please sign in to comment.