diff --git a/mesonbuild/dependencies/dev.py b/mesonbuild/dependencies/dev.py index d7a718172..f991d3cc6 100644 --- a/mesonbuild/dependencies/dev.py +++ b/mesonbuild/dependencies/dev.py @@ -236,7 +236,7 @@ class ValgrindDependency(PkgConfigDependency): link to its (static) libraries. ''' def __init__(self, env, kwargs): - super().__init__('valgrind', env, None, kwargs) + super().__init__('valgrind', env, kwargs) def get_link_args(self): return [] diff --git a/test cases/linuxlike/5 dependency versions/meson.build b/test cases/linuxlike/5 dependency versions/meson.build index ad513f20f..d4140b757 100644 --- a/test cases/linuxlike/5 dependency versions/meson.build +++ b/test cases/linuxlike/5 dependency versions/meson.build @@ -92,7 +92,7 @@ endif objc_found = add_languages('objc', required : false) -foreach d : ['sdl2', 'gnustep', 'wx', 'gl', 'python3', 'boost', 'gtest', 'gmock'] +foreach d : ['sdl2', 'gnustep', 'wxwidgets', 'gl', 'python3', 'boost', 'gtest', 'gmock', 'valgrind'] if d == 'gnustep' and not objc_found message('Skipping gnustep because no ObjC compiler found') else