Revert "vala: Build with '--nostdpkg'", MR #920
This reverts commit 0f098c37ae
.
This commit is contained in:
parent
45996b0f92
commit
1e0ae0a083
|
@ -1024,7 +1024,6 @@ int dummy;
|
||||||
# found inside the build tree (generated sources).
|
# found inside the build tree (generated sources).
|
||||||
args += ['-d', c_out_dir]
|
args += ['-d', c_out_dir]
|
||||||
args += ['-C']
|
args += ['-C']
|
||||||
args += ['--nostdpkg']
|
|
||||||
if not isinstance(target, build.Executable):
|
if not isinstance(target, build.Executable):
|
||||||
# Library name
|
# Library name
|
||||||
args += ['--library=' + target.name]
|
args += ['--library=' + target.name]
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
project('foo', 'c', 'vala')
|
project('foo', 'c', 'vala')
|
||||||
|
|
||||||
glib = dependency('glib-2.0')
|
glib = dependency('glib-2.0')
|
||||||
gobject = dependency('gobject-2.0')
|
|
||||||
|
|
||||||
subdir('c')
|
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)
|
test('test foo', e)
|
||||||
|
|
Loading…
Reference in New Issue