Package list libmawk / 2a52aa7 debian / patches / linkhack.diff
2a52aa7

Tree @2a52aa7 (Download .tar.gz)

linkhack.diff @2a52aa7raw · 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