From 28cbe2ab4a06058066f6328c6d8654954217c744 Mon Sep 17 00:00:00 2001 From: Ben Laurie Date: Wed, 9 Dec 2015 13:37:30 +0000 Subject: [PATCH] Link library for backtrace() on BSD... Reviewed-by: Rich Salz --- Configure | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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,"