diff options
author | Jack Lloyd <[email protected]> | 2021-02-15 15:11:12 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2021-02-15 15:11:12 -0500 |
commit | 4b2225ea54988e09b649768848b3c14b43e064de (patch) | |
tree | 3effdfac2ace20d55e9e53c9b0820acf91c3d21b | |
parent | af63fe89228172e5a395f7e6491fae3bfa9da4b1 (diff) |
Avoid empty -l
-rwxr-xr-x | configure.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.py b/configure.py index 865a6c8e6..a79f672ec 100755 --- a/configure.py +++ b/configure.py @@ -2027,7 +2027,7 @@ def create_template_vars(source_paths, build_paths, options, modules, cc, arch, 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(), |