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 ed2d0cb

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 90fab71 commit ed2d0cb
Copy full SHA for ed2d0cb

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
@@ -1800,10 +1800,9 @@ def configure_library(lib, output, pkgname=None):
18001800
output['libraries'] += [pkg_libpath]
18011801

18021802
default_libs = getattr(options, shared_lib + '_libname')
1803-
default_libs = [f'-l{l}' for l in default_libs.split(',')]
18041803

18051804
if default_libs:
1806-
output['libraries'] += default_libs
1805+
output['libraries'] += [f'-l{l}' for l in default_libs.split(',')]
18071806
elif pkg_libs:
18081807
output['libraries'] += pkg_libs.split()
18091808

0 commit comments

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