summaryrefslogtreecommitdiff
path: root/packages/libedit/files/libedit-add-soname.diff
blob: 0746ae49ce58ab68672203a1469f9e6f0a3ba916 (plain)
1
2
3
4
5
6
7
8
--- Makefile.orig	2005-04-20 18:12:45.000000000 +0200
+++ Makefile	2005-04-20 18:14:37.000000000 +0200
@@ -101,4 +101,4 @@
 libedit.a: ${OOBJS}
 	ar -r $@ .a/*
 libedit.so: ${OOBJS}
-	${CC} --shared -o $@ .so/* ${LIBS}
+	${CC} --shared -Wl,-soname=libedit.so.0 -o $@ .so/* ${LIBS}