Link library for backtrace() on BSD...
authorBen Laurie <ben@links.org>
Wed, 9 Dec 2015 13:37:30 +0000 (13:37 +0000)
committerBen Laurie <ben@links.org>
Wed, 9 Dec 2015 13:37:30 +0000 (13:37 +0000)
Reviewed-by: Rich Salz <rsalz@openssl.org>
Configure

index edc9757..9473452 100755 (executable)
--- 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";