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 committed Aug 26, 2021
1 parent 63bab93 commit d1beab3
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 @@ -351,6 +351,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 d1beab3

Please sign in to comment.