diff options
Diffstat (limited to 'Makefile')
-rwxr-xr-x | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -550,6 +550,7 @@ wingcc-gendef: cp -f $(BUILD_DIR)/gendef/gendef.exe $(WINGCC_INST_DIR)/bin/$(XGCC_TARGET64)-gendef.exe wingcc-zlib: + mkdir -p $(BUILD_DIR) cd $(BUILD_DIR) && rm -Rf zlib-$(VERSION_ZLIB) cd $(BUILD_DIR) && tar -zxf $(SOURCE_DIR)/zlib-$(VERSION_ZLIB).tar.gz cd $(BUILD_DIR)/zlib-$(VERSION_ZLIB) && patch -p1 < $(PATCHES_DIR)/zlib_ranlib.patch @@ -571,6 +572,8 @@ wingcc-zlib: cd $(BUILDDIR)/zlib-$(VERSION_ZLIB) && \ export PATH=$(PATH):$(XGCC_BINPATH) && \ CC=$(XGCC32) \ + AR=$(XGCC_BINPATH)/$(XGCC_PREFIX)ar \ + RANLIB=$(XGCC_BINPATH)/$(XGCC_PREFIX)ranlib \ ./configure \ --prefix=$(WINGCC_INST_DIR)/$(XGCC_TARGET64) --static && \ make clean && make |