Index: zlib-1.2.5/Makefile.in =================================================================== --- zlib-1.2.5.orig/Makefile.in +++ zlib-1.2.5/Makefile.in @@ -136,7 +136,7 @@ minigzip64.o: minigzip.c zlib.h zconf.h $(CC) $(SFLAGS) $(CFLAGS) -DPIC -c -o objs/$*.o $< -@mv objs/$*.o $@ -$(SHAREDLIBV): $(PIC_OBJS) +$(SHAREDLIBV): $(PIC_OBJS) libz.a $(LDSHARED) $(SFLAGS) $(CFLAGS) -o $@ $(PIC_OBJS) $(LDSHAREDLIBC) $(LDFLAGS) rm -f $(SHAREDLIB) $(SHAREDLIBM) ln -s $@ $(SHAREDLIB)