Skip to content

Commit 876b300

Browse files
authored
Merge pull request #76 from mintel/XMLSEC_CRYPTO-quotes
Fix build on CentOS 6 w/ xmlsec1-1.2.19-3
2 parents ba8eacb + 2de1598 commit 876b300

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmlsec_setupinfo.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def load_xmlsec1_config():
174174
# fix macros, ensure that macros is list
175175
macros = list(config.get('define_macros', []))
176176
for i, v in enumerate(macros):
177-
if v[0] == 'XMLSEC_CRYPTO':
177+
if v[0] == 'XMLSEC_CRYPTO' and not (v[1].startswith('"') and v[1].endswith('"')):
178178
macros[i] = ('XMLSEC_CRYPTO', '"{0}"'.format(v[1]))
179179
break
180180
config['define_macros'] = macros

0 commit comments

Comments
 (0)