We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 876b300 commit b78b21bCopy full SHA for b78b21b
xmlsec_setupinfo.py
@@ -168,9 +168,10 @@ def load_xmlsec1_config():
168
if config is None or not config.get('libraries'):
169
fatal_xmlsec1_error()
170
171
- config.setdefault('libraries', [])
172
- config.setdefault('include_dirs', [])
173
- config.setdefault('library_dirs', [])
+ # make sure that all options are list
+ for x in ('libraries', 'include_dirs', 'library_dirs'):
+ config[x] = list(config.get(x) or [])
174
+
175
# fix macros, ensure that macros is list
176
macros = list(config.get('define_macros', []))
177
for i, v in enumerate(macros):
0 commit comments