mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
glib: add autoreconf support
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
a7db7f094b
commit
53cc891fae
@ -2,11 +2,14 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
# Fails to compile with GCC link time optimization, outputing the error:
|
||||
# "mem-overflow.c:137:1: sorry, unimplemented: gimple bytecode streams do not support the optimization attribute".
|
||||
# CFLAGS=`echo $CFLAGS | sed -e "s|-flto||"`
|
||||
# LDFLAGS=`echo $LDFLAGS | sed -e "s|-flto||"`
|
||||
|
||||
cd $PKG_BUILD
|
||||
mkdir -p .build-target && cd .build-target
|
||||
|
||||
mkdir -p .build-target
|
||||
|
||||
cd .build-target
|
||||
ac_cv_func_posix_getpwuid_r='yes' \
|
||||
ac_cv_func_posix_getgrgid_r='yes' \
|
||||
glib_cv_uscore='no' \
|
||||
@ -42,3 +45,6 @@ $MAKEINSTALL
|
||||
# cp glib/glibconfig.h $SYSROOT_PREFIX/usr/include/glib-2.0
|
||||
mkdir -p $SYSROOT_PREFIX/usr/lib/pkgconfig
|
||||
cp g*-2.0.pc $SYSROOT_PREFIX/usr/lib/pkgconfig
|
||||
|
||||
mkdir -p $SYSROOT_PREFIX/usr/share/aclocal
|
||||
cp ../m4macros/glib-gettext.m4 $SYSROOT_PREFIX/usr/share/aclocal
|
@ -6,9 +6,11 @@ PKG_LICENSE="LGPL"
|
||||
PKG_SITE="http://www.gtk.org/"
|
||||
PKG_URL="http://ftp.gnome.org/pub/gnome/sources/glib/2.27/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="zlib dbus"
|
||||
PKG_BUILD_DEPENDS="toolchain zlib dbus glib-host"
|
||||
PKG_BUILD_DEPENDS="toolchain zlib dbus gtk-doc glib-host"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="devel"
|
||||
PKG_SHORTDESC="glib: C support library"
|
||||
PKG_LONGDESC="GLib is a library which includes support routines for C such as lists, trees, hashes, memory allocation, and many other things."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_AUTORECONF="yes"
|
||||
|
Loading…
x
Reference in New Issue
Block a user