forked from KolibriOS/kolibrios
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:
parent
11a6284c41
commit
07643c3fde
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user