diff options
author | Maxin B. John <maxin.john@intel.com> | 2017-08-21 18:09:45 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-23 08:47:05 +0100 |
commit | 879bd0ff00ebebfdeef52c3f61597d635e040aef (patch) | |
tree | a87f58b389d227ab6e0b01a860a1943dabb4ca6a /meta/recipes-devtools/pkgconf/pkgconf/pkg-config-native.in | |
parent | 80bc8282df58dfeaae8f2f71ed2617d718e29f8b (diff) | |
download | openembedded-core-contrib-879bd0ff00ebebfdeef52c3f61597d635e040aef.tar.gz |
pkgconf: add recipe
pkgconf is a better replacement for pkg-config. Fedora 26 replaces the
system pkg-config implementation with pkgconf because it "provides better
support for handling .pc files and a stable library ABI/API for integrating
into applications." and is actively maintained, unlike pkg-config.
pkgconf aims to offer many improvements over pkg-config such as faster/more
efficient dependency resolver which "allows for the user to more conservatively
link their binaries -- which may be helpful in some environments, such as when
prelink(1) is being used.
pkgconf also aims to provide a more complete implementation of pkg-config.
The features most likely to benefit the Yocto Project build system are the
faster/more efficient dependency resolution and linker flag optimisation.
Move pkgconf recipe to oe-core from meta-pkgconf:
https://github.com/kergoth/meta-kergoth-wip/tree/master/meta-pkgconf
Links:
1. http://pkgconf.org
2. https://fedoraproject.org/wiki/Changes/pkgconf_as_system_pkg-config_implementation
3. https://bugzilla.yoctoproject.org/show_bug.cgi?id=11308
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Signed-off-by: Maxin B. John <maxin.john@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/pkgconf/pkgconf/pkg-config-native.in')
-rw-r--r-- | meta/recipes-devtools/pkgconf/pkgconf/pkg-config-native.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-native.in b/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-native.in new file mode 100644 index 0000000000..9ed30a0d80 --- /dev/null +++ b/meta/recipes-devtools/pkgconf/pkgconf/pkg-config-native.in @@ -0,0 +1,6 @@ +#! /bin/sh + +PKG_CONFIG_PATH="@PATH_NATIVE@" +unset PKG_CONFIG_SYSROOT_DIR + +pkg-config "$@" |