Skip to content

Commit 7dce78b

Browse files
aduh95juanarbol
authored andcommitted
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 83328ef commit 7dce78b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

configure.py

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

17101710
default_libs = getattr(options, shared_lib + '_libname')
1711-
default_libs = [f'-l{l}' for l in default_libs.split(',')]
17121711

17131712
if default_libs:
1714-
output['libraries'] += default_libs
1713+
output['libraries'] += [f'-l{l}' for l in default_libs.split(',')]
17151714
elif pkg_libs:
17161715
output['libraries'] += pkg_libs.split()
17171716

0 commit comments

Comments
 (0)