mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
glib-host: add support to build before toolchain is built, detect libffi if pkg-config is not built
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
83f518bff1
commit
0e29536713
@ -27,10 +27,10 @@ $SCRIPTS/unpack glib
|
||||
setup_toolchain host
|
||||
export ZLIB_CFLAGS=""
|
||||
export ZLIB_LIBS=""
|
||||
export LIBFFI_CFLAGS="-I$ROOT/$TOOLCHAIN/include/libffi"
|
||||
export LIBFFI_LIBS="-L$ROOT/$TOOLCHAIN/lib -lffi"
|
||||
|
||||
cd $BUILD/glib*
|
||||
|
||||
do_autoreconf
|
||||
mkdir -p .build-host && cd .build-host
|
||||
../configure --host=$HOST_NAME \
|
||||
--build=$HOST_NAME \
|
||||
|
@ -26,7 +26,7 @@ PKG_LICENSE="LGPL"
|
||||
PKG_SITE="http://www.gtk.org/"
|
||||
PKG_URL=""
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain libffi-host zlib-host"
|
||||
PKG_BUILD_DEPENDS="ccache libffi-host zlib-host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="devel"
|
||||
PKG_SHORTDESC="glib-host: C support library"
|
||||
|
Loading…
x
Reference in New Issue
Block a user