[package] rebuild libgd configure script before compiling (#6241)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@18610 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2009-11-30 10:51:42 +00:00
parent 9326a43cd8
commit 187a74d337

View File

@ -40,13 +40,19 @@ CONFIGURE_ARGS += \
--without-freetype \ --without-freetype \
--with-jpeg=$(STAGING_DIR)/usr \ --with-jpeg=$(STAGING_DIR)/usr \
--with-png=$(STAGING_DIR)/usr \ --with-png=$(STAGING_DIR)/usr \
--without-xpm --without-xpm \
--without-iconv
CONFIGURE_VARS += \ CONFIGURE_VARS += \
LIBPNG12_CONFIG="$(STAGING_DIR)/host/bin/libpng12-config" LIBPNG12_CONFIG="$(STAGING_DIR)/host/bin/libpng12-config"
TARGET_CFLAGS += $(FPIC) TARGET_CFLAGS += $(FPIC)
define Build/Configure
( cd $(PKG_BUILD_DIR); aclocal; libtoolize; autoreconf; );
$(call Build/Configure/Default)
endef
define Build/Compile define Build/Compile
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
DESTDIR="$(PKG_INSTALL_DIR)" \ DESTDIR="$(PKG_INSTALL_DIR)" \