Fix Vala thread flag breakage (#2756)

This commit is contained in:
Ernestas Kulik 2017-12-11 20:28:42 +02:00 committed by Jussi Pakkanen
parent 19cd60205d
commit 448710ba96
3 changed files with 11 additions and 2 deletions

View File

@ -95,8 +95,8 @@ class ValaCompiler(Compiler):
mlog.debug('Searched {!r} and {!r} wasn\'t found'.format(extra_dirs, libname))
return None
def thread_flags(self):
def thread_flags(self, env):
return []
def thread_link_flags(self):
def thread_link_flags(self, env):
return []

View File

@ -0,0 +1,7 @@
project('thread flags', 'c', 'vala')
glib = dependency('glib-2.0')
gobject = dependency('gobject-2.0')
threads = dependency('threads')
e = executable('valaprog', 'prog.vala', dependencies: [glib, gobject, threads])

View File

@ -0,0 +1,2 @@
void main () {
}