aboutsummaryrefslogtreecommitdiff
path: root/package/pkgconf/pkg-config.in
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2012-10-24 10:10:44 +0000
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2012-10-29 21:56:50 +0100
commit3ee3e3d22e0166ce52e96a43977338feeab1fcc5 (patch)
tree029cd0db87d917b90b2f72605242d539f9fb393c /package/pkgconf/pkg-config.in
parent503452d7c87daed5061a67c7d5a20655dfa0395b (diff)
downloadbuildroot-3ee3e3d22e0166ce52e96a43977338feeab1fcc5.tar.gz
buildroot-3ee3e3d22e0166ce52e96a43977338feeab1fcc5.tar.bz2
pkgconf: new package
pkgconf is a drop-in replacement for pkg-config that doesn't need itself to build and just requires a C89 compiler. Instead of using a patch for hardcoded sysroot support (as the patch to pkg-config does) we rely instead on a wrapper script that takes the appropiate action. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/pkgconf/pkg-config.in')
-rw-r--r--package/pkgconf/pkg-config.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/pkgconf/pkg-config.in b/package/pkgconf/pkg-config.in
new file mode 100644
index 0000000000..25a536b0e6
--- /dev/null
+++ b/package/pkgconf/pkg-config.in
@@ -0,0 +1,2 @@
+#!/bin/sh
+PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-@PKG_CONFIG_LIBDIR@} PKG_CONFIG_SYSROOT_DIR=${PKG_CONFIG_SYSROOT_DIR:-@STAGING_DIR@} $(dirname $0)/pkgconf $@