Package list libmawk / debian/1.0.0-2 debian / patches / linkhack.diff
debian/1.0.0-2

Tree @debian/1.0.0-2 (Download .tar.gz)

linkhack.diff @debian/1.0.0-2raw · history · blame

diff --git a/src/libmawk/Makefile b/src/libmawk/Makefile
index 557ecec..52f65ae 100644
--- a/src/libmawk/Makefile
+++ b/src/libmawk/Makefile
@@ -131,7 +131,7 @@ install_ :  lmawk libmawk.so
 	$(CP) $(PWD)/libmawk.so $(LIBDIR)/libmawk.so.$(SOVER1).$(SOVER2).$(SOVER3)
 	rm $(LIBDIR)/libmawk.so.$(SOVER1).$(SOVER2) $(LIBDIR)/libmawk.so.$(SOVER1) 2>/dev/null ; true
 	ln -s libmawk.so.$(SOVER1).$(SOVER2).$(SOVER3) $(LIBDIR)/libmawk.so.$(SOVER1).$(SOVER2)
-	ln -s libmawk.so.$(SOVER1).$(SOVER2) $(LIBDIR)/libmawk.so.$(SOVER1)
+	ln -s libmawk.so.$(SOVER1).$(SOVER2).$(SOVER3) $(LIBDIR)/libmawk.so.$(SOVER1)
 	ln -s libmawk.so.$(SOVER1) $(LIBDIR)/libmawk.so
 	for h in $(IHEADERS); do $(CP) $(PWD)/$$h $(INCDIR)/$$h; done
 	$(CP) $(PWD)/../libmawk.h $(INCDIR)/../libmawk.h