42ec7548e8
Accepted submit request 56541 from user msmeissn OBS-URL: https://build.opensuse.org/request/show/56541 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zlib?expand=0&rev=22
14 lines
493 B
Diff
14 lines
493 B
Diff
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)
|