From: Yu Watanabe Date: Mon, 19 Jun 2023 23:20:12 +0000 (+0900) Subject: meson: fix test dependency X-Git-Tag: v254-rc1~147^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c20d291416c1fa76a03dccfc0fa2c2440bcd70cb;p=thirdparty%2Fsystemd.git meson: fix test dependency Follow-up for daf4e78e4841a527ba62da48fd00e2e6b8805193. --- diff --git a/meson.build b/meson.build index 5e26f7a7e7c..dc614dcd521 100644 --- a/meson.build +++ b/meson.build @@ -4447,11 +4447,11 @@ foreach test : tests versiondep, ] - name = fs.stem(sources[0]) + name = fs.name(sources[0]) if not name.endswith('.cc') deps += [userspace] endif - name = name.split('.')[0] + name = fs.stem(name) suite = fs.name(fs.parent(sources[0])).replace('sd-', '')