Revert "vala: Build with '--nostdpkg'", MR #920

This reverts commit 0f098c37ae.
This commit is contained in:
Jussi Pakkanen 2016-11-12 18:45:24 +02:00
parent 45996b0f92
commit 1e0ae0a083
2 changed files with 1 additions and 3 deletions

View File

@ -1024,7 +1024,6 @@ int dummy;
# found inside the build tree (generated sources).
args += ['-d', c_out_dir]
args += ['-C']
args += ['--nostdpkg']
if not isinstance(target, build.Executable):
# Library name
args += ['--library=' + target.name]

View File

@ -1,8 +1,7 @@
project('foo', 'c', 'vala')
glib = dependency('glib-2.0')
gobject = dependency('gobject-2.0')
subdir('c')
e = executable('foo', 'c/foo.c', retval, 'vala/bar.vala', dependencies: [glib, gobject])
e = executable('foo', 'c/foo.c', retval, 'vala/bar.vala', dependencies: [glib])
test('test foo', e)