aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2019-02-18 09:29:24 -0500
committerJack Lloyd <[email protected]>2019-02-18 09:29:24 -0500
commit4969317f3863c0f7b605e586ee69094b59870056 (patch)
tree314bd1832dcc5837da95781b718883bf530aea82 /configure.py
parentf46313581cb1685dcc7e0bd6cd0897c15ddf46db (diff)
Fix with debug info
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index a0ec2926f..a4c2d2372 100755
--- a/configure.py
+++ b/configure.py
@@ -1186,7 +1186,7 @@ class CompilerInfo(InfoObject): # pylint: disable=too-many-instance-attributes
yield self.shared_flags
yield self.visibility_build_flags
- if options.with_debug_info:
+ if 'debug' in self.lib_flags and options.with_debug_info:
yield process_template_string(self.lib_flags['debug'], variables, self.infofile)