Skip to content

Commit 5f7137e

Browse files
committed
fix syntax error in build
1 parent b5a0ca3 commit 5f7137e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/plugins/meson.build

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ if libdrm_dep.found() and libdrm_amdgpu.found()
1515
cpp_args = []
1616
deps = [ libdrm_amdgpu, libdrm_dep, boost_dep ]
1717
if (python_with_hwdata.found())
18-
hwdata_version = run_command('python3', '-c',
18+
hwdata_version_cmd = run_command('python3', '-c',
1919
'from importlib.metadata import version; print(version(\'hwdata\'))')
20-
.stdout().strip()
20+
hwdata_version = hwdata_version_cmd.stdout().strip()
2121
if (hwdata_version.version_compare('<2.4.1'))
2222
warning('python-hwdata 2.4.1 is recommended for PCI.get_subsystem')
2323
endif

0 commit comments

Comments
 (0)