]> granicus.if.org Git - openssl/commitdiff
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 edc9757e08756f6a8381d3e23877f34271129bf9..9473452bf8ca80b390e916ad74d25f12dd9add4a 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";