From 05a53263fb9761521d25a072351fa61ea9c978d6 Mon Sep 17 00:00:00 2001 From: "Sascha Kuehndel (InuSasha)" Date: Wed, 16 Aug 2017 20:24:01 +0200 Subject: [PATCH] glib: fix build with long shebangs shebang length is limited in the kernel by BINPRM_BUF_SIZE, set in include/linux/binfmts.h solution found by @MilhouseVH --- packages/devel/glib/package.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/devel/glib/package.mk b/packages/devel/glib/package.mk index 78d515e003..b18f278171 100644 --- a/packages/devel/glib/package.mk +++ b/packages/devel/glib/package.mk @@ -36,7 +36,8 @@ PKG_AUTORECONF="yes" PKG_CONFIGURE_OPTS_HOST="PCRE_LIBS=-l:libpcre.a \ --enable-static \ --disable-shared \ - --disable-libmount" + --disable-libmount \ + --with-python=python" PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_snprintf_c99=yes \ ac_cv_func_vsnprintf_c99=yes \ glib_cv_stack_grows=no \ @@ -54,7 +55,8 @@ PKG_CONFIGURE_OPTS_TARGET="ac_cv_func_snprintf_c99=yes \ --enable-Bsymbolic \ --with-gnu-ld \ --with-threads=posix \ - --with-pcre=internal" + --with-pcre=internal \ + --with-python=python" post_makeinstall_target() { mkdir -p $SYSROOT_PREFIX/usr/lib/pkgconfig