aboutsummaryrefslogtreecommitdiffstats
path: root/Configure
diff options
context:
space:
mode:
authorBen Laurie <ben@links.org>2015-12-09 13:37:30 +0000
committerBen Laurie <ben@links.org>2015-12-09 13:37:30 +0000
commit28cbe2ab4a06058066f6328c6d8654954217c744 (patch)
tree824c700727bb74f882eb604c1538b6d11d98f9bc /Configure
parent23fe34b47a152309ea4675ecaf9aa0faa1c581e2 (diff)
downloadopenssl-28cbe2ab4a06058066f6328c6d8654954217c744.tar.gz
Link library for backtrace() on BSD...
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/Configure b/Configure
index edc9757e08..9473452bf8 100755
--- a/Configure
+++ b/Configure
@@ -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";