summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-01 00:38:23 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-01 00:38:23 +0000
commit5d57d705241e32d2a4777dc758098ffb65967eaa (patch)
tree85bce1fcd526541117625ad727280240935c0419 /dev-libs/libedit
parentFix bug 94016. (diff)
downloadgentoo-2-5d57d705241e32d2a4777dc758098ffb65967eaa.tar.gz
gentoo-2-5d57d705241e32d2a4777dc758098ffb65967eaa.tar.bz2
gentoo-2-5d57d705241e32d2a4777dc758098ffb65967eaa.zip
make sure we build the shared library with a SONAME
Diffstat (limited to 'dev-libs/libedit')
-rw-r--r--dev-libs/libedit/files/libedit-20050531-debian-to-gentoo.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/dev-libs/libedit/files/libedit-20050531-debian-to-gentoo.patch b/dev-libs/libedit/files/libedit-20050531-debian-to-gentoo.patch
index c20e473a1488..f78ecdf6909d 100644
--- a/dev-libs/libedit/files/libedit-20050531-debian-to-gentoo.patch
+++ b/dev-libs/libedit/files/libedit-20050531-debian-to-gentoo.patch
@@ -111,12 +111,12 @@
+.depend: vi.h emacs.h common.h fcns.h help.h help.c
+ -mkdir .a .so
+.c.o:
-+ ${CC} ${CFLAGS} -c $< -o .a/$*
-+ ${CC} ${CFLAGS} -fPIC -c $< -o .so/$*
-+libedit.a: ${OOBJS}
-+ ${AR} -r $@ .a/*
-+libedit.so: ${OOBJS}
-+ ${CC} --shared -o $@ .so/* ${LIBS}
++ $(CC) $(CFLAGS) -c $< -o .a/$*
++ $(CC) $(CFLAGS) -fPIC -c $< -o .so/$*
++libedit.a: $(OOBJS)
++ $(AR) -r $@ .a/*
++libedit.so: $(OOBJS)
++ $(CC) --shared -o $@ .so/* $(LIBS) -Wl,-soname -Wl,libedit.so
--- netbsd-cvs/el.c
+++ libedit-uNF/el.c
@@ -439,8 +439,10 @@