Skip to content

Commit 5913aa9

Browse files
authored
build: support empty libname flags in configure.py
PR-URL: #62477 Reviewed-By: Paolo Insogna <paolo@cowtech.it> Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com> Reviewed-By: Chemi Atlow <chemi@atlow.co.il> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent bdd1099 commit 5913aa9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

configure.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2007,10 +2007,9 @@ def configure_library(lib, output, pkgname=None):
20072007
output['libraries'] += [pkg_libpath]
20082008

20092009
default_libs = getattr(options, shared_lib + '_libname')
2010-
default_libs = [f'-l{l}' for l in default_libs.split(',')]
20112010

20122011
if default_libs:
2013-
output['libraries'] += default_libs
2012+
output['libraries'] += [f'-l{l}' for l in default_libs.split(',')]
20142013
elif pkg_libs:
20152014
output['libraries'] += pkg_libs.split()
20162015

0 commit comments

Comments
 (0)