package: set PKG_CONFIG_SYSROOT_DIR in HOST_MAKE_ENV
authorSven Neumann <s.neumann@raumfeld.com>
Wed, 4 Apr 2012 12:50:19 +0000 (14:50 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sun, 15 Apr 2012 21:08:48 +0000 (23:08 +0200)
commitfeba8b1382bfda10bc479f744e4697c868a23dc3
treeb5ec317ed22de57fbb93d97590e8e81588b3ddd8
parentf5b6e19eff604bf92ab84c30eebd600f88d39db3
package: set PKG_CONFIG_SYSROOT_DIR in HOST_MAKE_ENV

A host package that uses AUTORECONF (such as host-libglib2)
may end up running './config.status --recheck'. This will
call the configure script with the environment variables
set in HOST_MAKE_ENV. If PKG_CONFIG_SYSROOT_DIR is missing
this will cause the hardcoded sysroot dir take effect leading
to wrong paths.

See commit 22acade2ec311 which works around this problem by
fiddling with the generated .pc file. This commit becomes
obsolete with this fix.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Cc: Daniel Mack <zonque@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Makefile.in