diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-02-02 19:24:50 +0100 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2010-02-02 19:26:21 +0100 |
commit | a728000d61d808f51b3e9020ddf774320b3bd197 (patch) | |
tree | dfcb32781aaf2898506e53396809ebab60f28ea7 /scripts/lib/ptxd_make_world_common.sh | |
parent | 7372835e51e49f36688a0d7a9ab87d8c5c96b841 (diff) | |
download | ptxdist-a728000d61d808f51b3e9020ddf774320b3bd197.tar.gz ptxdist-a728000d61d808f51b3e9020ddf774320b3bd197.tar.xz |
[ptxd_make_world_common] add SYSROOT to target packages environment
It it needed for packages which use these "*-config" scripts during
compile time.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_common.sh')
-rw-r--r-- | scripts/lib/ptxd_make_world_common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/ptxd_make_world_common.sh b/scripts/lib/ptxd_make_world_common.sh index c12e81586..452320586 100644 --- a/scripts/lib/ptxd_make_world_common.sh +++ b/scripts/lib/ptxd_make_world_common.sh @@ -159,7 +159,7 @@ ptxd_make_world_init_compat() { # pkg_env case "${pkg_type}" in - target) pkg_env="${PTXDIST_CROSS_ENV_PKG_CONFIG}" ;; + target) pkg_env="${PTXDIST_CROSS_ENV_PKG_CONFIG} SYSROOT='${pkg_sysroot_dir}'" ;; host|cross) pkg_env="PKG_CONFIG_LIBDIR='${PTXDIST_SYSROOT_HOST}/lib/pkgconfig:${PTXDIST_SYSROOT_HOST}/share/pkgconfig'" ;; esac } |