void-packages/srcpkgs/libdwarf/patches/add-soname.patch
2015-09-10 09:47:13 -04:00

13 lines
502 B
Diff

diff --git libdwarf/Makefile.in libdwarf/Makefile.in
index 28c62a9..da69093 100644
--- libdwarf/Makefile.in
+++ libdwarf/Makefile.in
@@ -122,7 +122,7 @@ libdwarf.a: dwarf_names.h dwarf_names.c $(OBJS) dwarf_names.o
$(AR) $(ARFLAGS) $@ $(OBJS) dwarf_names.o > ar-output-temp
libdwarf.so: dwarf_names.h dwarf_names.c $(OBJS) dwarf_names.o
- $(CC) $(CFLAGS) -shared $(OBJS) dwarf_names.o -o $@
+ $(CC) $(CFLAGS) -shared $(OBJS) dwarf_names.o -Wl,-soname,$@ -o $@
none:
echo "do nothing " $@