summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-09-25 11:57:40 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-09-25 11:57:40 +0000
commit67ebf100859401eb43d3997523ef527d3a0a4144 (patch)
tree5999dd5a4cdff91f37c311afd9b5a4ed46e83b0c
parent28bb6c6598ba1ad1a8e11e8c8323bd4668d4fa8d (diff)
disable jpeg and xpm explicitly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1992 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/package/libgd/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/openwrt/package/libgd/Makefile b/openwrt/package/libgd/Makefile
index 1f0776f046..3d5d745785 100644
--- a/openwrt/package/libgd/Makefile
+++ b/openwrt/package/libgd/Makefile
@@ -22,8 +22,8 @@ $(PKG_BUILD_DIR)/.configured:
(cd $(PKG_BUILD_DIR); rm -rf config.{cache,status} ; \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \
- CPPFLAGS="-I$(STAGING_DIR)/usr/include" \
- LDFLAGS="-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib" \
+ CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
+ LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
LIBPNG12_CONFIG="$(STAGING_DIR)/usr/bin/libpng12-config" \
./configure \
--target=$(GNU_TARGET_NAME) \
@@ -48,9 +48,12 @@ $(PKG_BUILD_DIR)/.configured:
--enable-shared \
--enable-static \
--disable-rpath \
+ --with-gnu-ld \
--without-x \
--without-freetype \
+ --without-jpeg \
--with-png=$(STAGING_DIR)/usr \
+ --without-xpm \
)
touch $@