Skip to content

Commit cffbd42

Browse files
committed
Add dwarf_loclist to libdw vs. libdwarf check
On CentOS 7 libdw does not include dwarf_loclist but libdwarf does. This changes adds checking for dwarf_loclist to the check to determine whether to use libdw instead of libdwarf.
1 parent d476c3a commit cffbd42

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/mkport.pl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ sub check_dwarf_h
326326
void main(int argc, char **argv)
327327
{
328328
dwarf_begin();
329+
dwarf_loclist();
329330
}
330331
EOF
331332
$fh->close();

0 commit comments

Comments
 (0)