Package: freebsd-libs / 10.3~svn296373-10

elf.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/lib/libelf/Makefile
+++ b/lib/libelf/Makefile
@@ -1,6 +1,6 @@
 # $FreeBSD$
 
-LIB=	elf
+LIB=	elf-freebsd
 
 SRCS=	elf_begin.c						\
 	elf_cntl.c						\
@@ -171,6 +171,8 @@
 libelf_fsize.c:		elf_types.m4 libelf_fsize.m4
 libelf_msize.c:		elf_types.m4 libelf_msize.m4
 
+LDADD+=	-lbsd
+
 .include <bsd.lib.mk>
 
 # Keep the .SUFFIXES line after the include of bsd.lib.mk