valgrind: Fix __init__ call

Adds a test so that this is catched later.

Closes https://github.com/mesonbuild/meson/issues/1937
pull/1953/head
Nirbheek Chauhan 8 years ago committed by Jussi Pakkanen
parent f75d394683
commit ea3e28dbb9
  1. 2
      mesonbuild/dependencies/dev.py
  2. 2
      test cases/linuxlike/5 dependency versions/meson.build

@ -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 []

@ -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

Loading…
Cancel
Save