aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index 82e8b6129..600fec38d 100755
--- a/configure.py
+++ b/configure.py
@@ -610,7 +610,9 @@ class CompilerInfo(object):
def so_link_command_for(self, osname):
if osname in self.so_link_flags:
return self.so_link_flags[osname]
- return self.so_link_flags['default']
+ if 'default' in self.so_link_flags:
+ return self.so_link_flags['default']
+ return ''
"""
Return defines for build.h