aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/qt4.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2017-10-06 11:48:08 -0700
committerDylan Baker <dylan@pnwbakers.com>2017-10-21 10:36:00 -0700
commit4e394b3341b2d30294a14b96b7e528b441b675a5 (patch)
tree4b1ed78ac1a9f0b0a560a6079d556b824fe68635 /mesonbuild/modules/qt4.py
parent6ce42e2ec51a9f9b48b6d00303bf5dfc1596498e (diff)
downloadmeson-4e394b3341b2d30294a14b96b7e528b441b675a5.zip
meson-4e394b3341b2d30294a14b96b7e528b441b675a5.tar.gz
meson-4e394b3341b2d30294a14b96b7e528b441b675a5.tar.bz2
dependencies: Add function to strip system -L paths
PkgConfig automatically removes -L paths from libdirs if the -L points to a system path. It knows what these paths are by taking this as a configure option at build time, which the distro maintainers set appropriately and everything works. This allows one to have two versions of a package installed, a system and non system, and then override PKG_CONFIG_PATH to use the non system version, and everything just works. For non-pkgconfig dependencies (such as LLVM) meson needs to strip these themselves to avoid breaking the above use case.
Diffstat (limited to 'mesonbuild/modules/qt4.py')
0 files changed, 0 insertions, 0 deletions