Skip to content

Commit 3cf5b62

Browse files
committed
build: support empty libname flags in configure.py
1 parent 8ea96e6 commit 3cf5b62

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)