libIDL-host: setup host triplet for --build and --host options to configure script

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-07-13 01:42:15 +02:00
parent 0b692b5bd8
commit 9cd26fe9ef

View File

@ -30,7 +30,9 @@ cd $BUILD/libIDL*
mkdir -p .build-host && cd .build-host
libIDL_cv_long_long_format=ll \
../configure --prefix=$ROOT/$TOOLCHAIN
../configure --host=$HOST_NAME \
--build=$HOST_NAME \
--prefix=$ROOT/$TOOLCHAIN
$SED "s:pkg-config :PKG_CONFIG_PATH=$HOST_PKG_CONFIG_PATH $PKG_CONFIG :" libIDL-config-2