Files
poky/meta/recipes-devtools/pkgconfig/pkgconfig/pkg-config-native.in
Ross Burton 4bb69608bb pkgconfig: add -native script that uses the native sysroot instead of target
pkg-config-native is useful when building a package for the target that needs to
compile a build-time tool, to avoid having to hard-code many paths.

(From OE-Core rev: b15e22beed948f79b6ae953df7b889f3e70588b9)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-10 23:43:11 +00:00

8 lines
126 B
Bash

#! /bin/sh
PKG_CONFIG_PATH="@PATH_NATIVE@"
PKG_CONFIG_LIBDIR="@LIBDIR_NATIVE@"
unset PKG_CONFIG_SYSROOT_DIR
pkg-config "$@"