Link library for backtrace() on BSD...

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Ben Laurie 2015-12-09 13:37:30 +00:00
parent 23fe34b47a
commit 28cbe2ab4a
1 changed files with 5 additions and 1 deletions

View File

@ -1761,7 +1761,11 @@ if ($strict_warnings)
{
$cflags .= " $wopt" unless ($cflags =~ /(^|\s)$wopt(\s|$)/)
}
}
if ($target =~ /^BSD-/)
{
$lflags .= " -lexecinfo";
}
}
}
open(IN,"<Makefile.org") || die "unable to read Makefile.org:$!\n";