Package: freebsd-libs / 10.3~svn296373-10

dwarf.diff Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- a/lib/libdwarf/Makefile
+++ b/lib/libdwarf/Makefile
@@ -1,6 +1,6 @@
 # $FreeBSD$
 
-LIB=	dwarf
+LIB=	dwarf-freebsd
 
 SRCS=	\
 	dwarf_abbrev.c		\
@@ -20,7 +20,8 @@
 
 INCS=	dwarf.h libdwarf.h
 
-CFLAGS+=	-I${.CURDIR}
+LDADD+=		-L../libelf -lelf-freebsd
+CFLAGS+=	-I${.CURDIR} -I../libelf
 
 SHLIB_MAJOR=	3