yield option
for module in config.avoids:
yield f"--avoid={module}"
- if tuple(config.licenses) in _LGPL:
- lgpl = _LGPL[tuple(config.licenses)]
+ licenses = tuple(sorted(config.licenses))
+ if licenses in _LGPL:
+ lgpl = _LGPL[licenses]
if lgpl != "yes":
yield f"--lgpl={lgpl}"
else:
if config.tests:
yield "gl_WITH_TESTS"
yield "gl_LIB([{}])".format(config.libname)
- if tuple(config.licenses) in _LGPL:
- lgpl = _LGPL[tuple(sorted(config.licenses))]
+ licenses = tuple(sorted(config.licenses))
+ if licenses in _LGPL:
+ lgpl = _LGPL[licenses]
if lgpl != "yes":
yield f"gl_LGPL([{lgpl}])"
else: