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)" \