pkg-config: add --with-sysroot option for compiled in default sysroot setting
authorPeter Korsgaard <jacmet@sunsite.dk>
Sat, 29 Jan 2011 23:33:00 +0000 (00:33 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 29 Jan 2011 23:37:53 +0000 (00:37 +0100)
commit50bda85e88fa10be32733dd0334aea93519bc915
tree17ec48ef7821e5e40adc112cf19dd7d58454e353
parentb4df2ea27fc28734978ff8a52811dc23d5d1c221
pkg-config: add --with-sysroot option for compiled in default sysroot setting

Similar to the --with-pc-path option. It works just like the existing
PKG_CONFIG_SYSROOT_DIR environment variable, but compiled in.
The environment variable overrides this default setting if set.

This way we don't need to pass PKG_CONFIG_SYSROOT_DIR in the environment
when building for the target, and it is easier to reuse pkg-config outside
BR (E.G. for the SDK) without having to setup special environment
variables.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Makefile.in
package/pkg-config/pkg-config-0.25-add-with-sysroot.patch [new file with mode: 0644]
package/pkg-config/pkg-config.mk