From 187a74d337f03c5a8523c4e756d5d23907d447a7 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 30 Nov 2009 10:51:42 +0000 Subject: [PATCH] [package] rebuild libgd configure script before compiling (#6241) git-svn-id: svn://svn.openwrt.org/openwrt/packages@18610 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- libs/gd/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libs/gd/Makefile b/libs/gd/Makefile index b9c5195cb..175a3c71b 100644 --- a/libs/gd/Makefile +++ b/libs/gd/Makefile @@ -40,13 +40,19 @@ CONFIGURE_ARGS += \ --without-freetype \ --with-jpeg=$(STAGING_DIR)/usr \ --with-png=$(STAGING_DIR)/usr \ - --without-xpm + --without-xpm \ + --without-iconv CONFIGURE_VARS += \ LIBPNG12_CONFIG="$(STAGING_DIR)/host/bin/libpng12-config" TARGET_CFLAGS += $(FPIC) +define Build/Configure + ( cd $(PKG_BUILD_DIR); aclocal; libtoolize; autoreconf; ); + $(call Build/Configure/Default) +endef + define Build/Compile $(MAKE) -C $(PKG_BUILD_DIR) \ DESTDIR="$(PKG_INSTALL_DIR)" \