Skip to content

Commit

Permalink
Avoid empty -l
Browse files Browse the repository at this point in the history
  • Loading branch information
randombit committed Feb 15, 2021
1 parent af63fe8 commit 4b2225e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.py
Expand Up @@ -2027,7 +2027,7 @@ def extra_libs(libs, cc):
if libs is None:
return ''

return ' '.join([(cc.add_lib_option % lib) for lib in libs.split(',')])
return ' '.join([(cc.add_lib_option % lib) for lib in libs.split(',') if lib != ''])

variables = {
'version_major': Version.major(),
Expand Down

0 comments on commit 4b2225e

Please sign in to comment.