From 82c25f7f8ca7ed6d63bacf8ff38b1eb44d8d6b2e Mon Sep 17 00:00:00 2001 From: "roberto@openbsd51" Date: Wed, 25 Apr 2012 11:00:25 +0200 Subject: [PATCH] better execinfo detection --- uwsgiconfig.py | 1 + 1 file changed, 1 insertion(+) diff --git a/uwsgiconfig.py b/uwsgiconfig.py index 74de4a4f..bfdae1e0 100644 --- a/uwsgiconfig.py +++ b/uwsgiconfig.py @@ -392,6 +392,7 @@ class uConf(object): if self.has_include('execinfo.h') or os.path.exists('/usr/local/include/execinfo.h'): if os.path.exists('/usr/local/include/execinfo.h'): self.cflags.append('-I/usr/local/include') + self.ldflags.append('-L/usr/local/lib') self.cflags.append('-DUWSGI_HAS_EXECINFO') self.libs.append('-lexecinfo')