Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2fcd07f

Browse filesBrowse files
committed
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 e5e9f20 commit 2fcd07f
Copy full SHA for 2fcd07f

1 file changed

+1-2Lines changed: 1 addition & 2 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎configure.py‎

Copy file name to clipboardExpand all lines: configure.py
+1-2Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,10 +1945,9 @@ def configure_library(lib, output, pkgname=None):
19451945
output['libraries'] += [pkg_libpath]
19461946

19471947
default_libs = getattr(options, shared_lib + '_libname')
1948-
default_libs = [f'-l{l}' for l in default_libs.split(',')]
19491948

19501949
if default_libs:
1951-
output['libraries'] += default_libs
1950+
output['libraries'] += [f'-l{l}' for l in default_libs.split(',')]
19521951
elif pkg_libs:
19531952
output['libraries'] += pkg_libs.split()
19541953

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.