aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libedit/files/libedit-add-soname.diff
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libedit/files/libedit-add-soname.diff')
-rw-r--r--recipes/libedit/files/libedit-add-soname.diff8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes/libedit/files/libedit-add-soname.diff b/recipes/libedit/files/libedit-add-soname.diff
new file mode 100644
index 0000000000..0746ae49ce
--- /dev/null
+++ b/recipes/libedit/files/libedit-add-soname.diff
@@ -0,0 +1,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}