[igt-dev] [PATCH i-g-t 1/1] lib/meson.build: Fix underscorify call

Petri Latvala petri.latvala at intel.com
Thu Oct 28 08:05:31 UTC 2021


f.underscorify() is correct, f.underscorify(f) is an error that later
meson versions don't like at all.

Closes: https://gitlab.freedesktop.org/drm/igt-gpu-tools/-/issues/107
Fixes: 588555f77909 ("lib/i915: Extract helpers for determining scheduler capabilities")
Cc: Arkadiusz Hiler <arek at hiler.eu>
Signed-off-by: Petri Latvala <petri.latvala at intel.com>
---
 lib/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/meson.build b/lib/meson.build
index c3080fc8..297b0ad2 100644
--- a/lib/meson.build
+++ b/lib/meson.build
@@ -155,7 +155,7 @@ lib_version = vcs_tag(input : 'version.h.in', output : 'version.h',
 
 lib_intermediates = []
 foreach f: lib_sources
-    name = f.underscorify(f)
+    name = f.underscorify()
     lib = static_library('igt-' + name,
 	[ f, lib_version ],
 	include_directories: inc,
-- 
2.29.2



More information about the igt-dev mailing list