From 07643c3fde3593a912764866cb4965437488ae24 Mon Sep 17 00:00:00 2001 From: maxcodehack Date: Thu, 25 Feb 2021 18:19:40 +0000 Subject: [PATCH] minizip: Use zlib as dynamic lib (smaller program's size) git-svn-id: svn://kolibrios.org@8617 a494cfbc-eb01-0410-851d-a64ba20cac60 --- programs/fs/minizip/Makefile.miniunz | 2 +- programs/fs/minizip/Makefile.minizip | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/programs/fs/minizip/Makefile.miniunz b/programs/fs/minizip/Makefile.miniunz index a80675483c..911f0bfe22 100755 --- a/programs/fs/minizip/Makefile.miniunz +++ b/programs/fs/minizip/Makefile.miniunz @@ -12,7 +12,7 @@ LIBPATH = -L $(SDK_DIR)/lib -L /home/autobuild/tools/win32/mingw32/lib OBJECTS = miniunz.o unzip.o ioapi.o kos_dir.o default: $(OBJECTS) - kos32-ld $(LDFLAGS) $(LIBPATH) --subsystem console -o miniunz $(OBJECTS) -lgcc -lc.dll -lz + kos32-ld $(LDFLAGS) $(LIBPATH) --subsystem console -o miniunz $(OBJECTS) -lgcc -lc.dll -lz.dll objcopy miniunz -O binary %.o : %.c Makefile.miniunz diff --git a/programs/fs/minizip/Makefile.minizip b/programs/fs/minizip/Makefile.minizip index 7278fb7c3b..4c0cf809eb 100755 --- a/programs/fs/minizip/Makefile.minizip +++ b/programs/fs/minizip/Makefile.minizip @@ -12,7 +12,7 @@ LIBPATH = -L $(SDK_DIR)/lib -L /home/autobuild/tools/win32/mingw32/lib OBJECTS = minizip.o zip.o ioapi.o kos_dir.o default: $(OBJECTS) - kos32-ld $(LDFLAGS) $(LIBPATH) --subsystem console -o minizip $(OBJECTS) -lgcc -lc.dll -lz + kos32-ld $(LDFLAGS) $(LIBPATH) --subsystem console -o minizip $(OBJECTS) -lgcc -lc.dll -lz.dll objcopy minizip -O binary %.o : %.c Makefile.minizip