minizip: Use zlib as dynamic lib (smaller program's size)

git-svn-id: svn://kolibrios.org@8617 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
maxcodehack 2021-02-25 18:19:40 +00:00
parent 11a6284c41
commit 07643c3fde
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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