Skip to content

Commit

Permalink
Use correct pkg-config --static flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus authored and Marius Kittler committed Mar 22, 2017
1 parent 1c1935b commit 2d7fb71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure.pri
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ defineTest(qtConfTest_detectPkgConfig) {
qtLog("Found pkg-config from path: $$pkgConfig")
}
}
!isEmpty(pkgConfig):qtConfig(static) {
pkgConfig = "$$pkgConfig --static"
}

$$qtConfEvaluate("features.cross_compile") {
# cross compiling, check that pkg-config is set up sanely
Expand Down

0 comments on commit 2d7fb71

Please sign in to comment.