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

View File

@@ -1761,6 +1761,10 @@ if ($strict_warnings)
{ {
$cflags .= " $wopt" unless ($cflags =~ /(^|\s)$wopt(\s|$)/) $cflags .= " $wopt" unless ($cflags =~ /(^|\s)$wopt(\s|$)/)
} }
if ($target =~ /^BSD-/)
{
$lflags .= " -lexecinfo";
}
} }
} }