From c12c4f05f16f177f66f18f9ff40488ab8bd151d7 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 30 Aug 2005 22:46:58 +0000 Subject: touchup build process --- package/zlib/zlib.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'package') diff --git a/package/zlib/zlib.mk b/package/zlib/zlib.mk index 949f375b6..32dc3ca2f 100644 --- a/package/zlib/zlib.mk +++ b/package/zlib/zlib.mk @@ -17,10 +17,12 @@ $(DL_DIR)/$(ZLIB_SOURCE): $(ZLIB_DIR)/.source: $(DL_DIR)/$(ZLIB_SOURCE) bzcat $(DL_DIR)/$(ZLIB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - + toolchain/patch-kernel.sh $(ZLIB_DIR) package/zlib/ zlib\*.patch touch $(ZLIB_DIR)/.source $(ZLIB_DIR)/.configured: $(ZLIB_DIR)/.source (cd $(ZLIB_DIR); \ + $(TARGET_CONFIGURE_OPTS) \ ./configure \ --shared \ --prefix=/usr \ @@ -31,8 +33,7 @@ $(ZLIB_DIR)/.configured: $(ZLIB_DIR)/.source touch $(ZLIB_DIR)/.configured; $(ZLIB_DIR)/libz.so.$(ZLIB_VER): $(ZLIB_DIR)/.configured - $(MAKE) LDSHARED="$(TARGET_CROSS)gcc -shared -Wl,-soname,libz.so.1 -shared-libgcc" \ - CFLAGS="$(ZLIB_CFLAGS)" CC=$(TARGET_CC) -C $(ZLIB_DIR) all libz.a; + $(MAKE) -C $(ZLIB_DIR) all libz.a touch -c $(ZLIB_DIR)/libz.so.$(ZLIB_VER) $(STAGING_DIR)/lib/libz.so.$(ZLIB_VER): $(ZLIB_DIR)/libz.so.$(ZLIB_VER) -- cgit v1.2.3