eo-classes: Update meson usage to build correct paths

This commit is contained in:
Andy Williams 2017-11-14 11:48:57 +00:00
parent 1f0b3626ba
commit 693845d2cc
1 changed files with 5 additions and 4 deletions

View File

@ -12,10 +12,11 @@ foreach eo : eo_src
input : eo_file,
output : [eo_file + '.h'],
command : [eolian_gen, '-I', eolian.get_pkgconfig_variable('eoincludedir'),
'-I', meson.source_root() + '/src',
'-gchi', '-o', 'h:' + eo_file + '.h',
'-o', 'i:' + meson.source_root() + '/src/' + eo + '.c',
'-o', 'c:' + eo_file + '.c', '@INPUT@'])
'-I', meson.current_source_dir(),
'-gchi',
'-o', 'i:' + join_paths(meson.current_source_dir(), eo + '.c'),
'-o', 'h:' + join_paths(meson.current_build_dir(), eo_file + '.h'),
'-o', 'c:' + join_paths(meson.current_build_dir(), eo_file + '.c'), '@INPUT@'])
endforeach
src = files([