]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
libglib2: needs autoreconf
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 17 Oct 2017 19:46:48 +0000 (21:46 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 26 Nov 2017 20:37:04 +0000 (21:37 +0100)
Patch 0002-disable-tests.patch modifies Makefile.am, so we have to
autoreconf. It hasn't been seen until now, but becomes very clear
since the bump of automake to 1.15.1, as we're seeing build failures
such as:

configure.ac:66: error: version mismatch.  This is Automake 1.15.1,
configure.ac:66: but the definition used by this AM_INIT_AUTOMAKE
configure.ac:66: comes from Automake 1.15.  You should recreate
configure.ac:66: aclocal.m4 with aclocal and run automake again.

Fixes:

  http://autobuild.buildroot.net/results/3402357d8e90f1866dfeaee7bb61119d80dc8bcb/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit 45fbec12e79dfd8416b20afa4c2590aecd3ddc5d)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/libglib2/libglib2.mk

index e23c4a2df8cd57e69c4f95f22f73ae6ae809fa66..1c1116666c4de4a7ac62c2c64a72e7f4c91cff9c 100644 (file)
@@ -10,6 +10,8 @@ LIBGLIB2_SOURCE = glib-$(LIBGLIB2_VERSION).tar.xz
 LIBGLIB2_SITE = http://ftp.gnome.org/pub/gnome/sources/glib/$(LIBGLIB2_VERSION_MAJOR)
 LIBGLIB2_LICENSE = LGPLv2+
 LIBGLIB2_LICENSE_FILES = COPYING
+# 0002-disable-tests.patch
+LIBGLIB2_AUTORECONF = YES
 
 LIBGLIB2_INSTALL_STAGING = YES
 LIBGLIB2_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) LDFLAGS=-L$(STAGING_DIR)/usr/lib install