Message ID | 20240724143819.073877b3@gandalf.local.home (mailing list archive) |
---|---|
State | Accepted |
Commit | c14f6cd2ec653637a60d941c1e88ff3c49646504 |
Headers | show |
Series | trace-cmd meson: Fix include file for swig python build | expand |
On Wed, Jul 24, 2024 at 02:38:19PM GMT, Steven Rostedt wrote: > From: "Steven Rostedt (Google)" <rostedt@goodmis.org> > > The header trace-cmd-private-python.h was recently moved to > lib/trace-cmd/include/private. Change the meson.build file to reflect this > change. > > Link: https://lore.kernel.org/all/Y+w51nOhNd+PGo%2Fk@slm.duckdns.org/ > > Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org> looks good to me. Reviewed-by: Daniel Wagner <dwagner@suse.de>
diff --git a/python/meson.build b/python/meson.build index 5a91ff63a326..d00948947030 100644 --- a/python/meson.build +++ b/python/meson.build @@ -22,13 +22,14 @@ if have_python_support swig, '-python', '-I' + meson.current_source_dir() + '/../include/trace-cmd', + '-I' + meson.current_source_dir() + '/../lib/trace-cmd/include/private', '-I' + libtraceevent_dep.get_pkgconfig_variable('prefix') + '/include/traceevent', '-o', '@OUTPUT1@', '@INPUT0@'], install: true, install_dir: [ python3.get_install_dir(pure: false, subdir: 'trace-cmd'), false]) - incdir_py = include_directories(['.', '../include/trace-cmd']) + incdir_py = include_directories(['.', '../include/trace-cmd', '../lib/trace-cmd/include/private']) pyctracecmd_clib = python3.extension_module( '_ctracecmd',