[PATCH] trace-cmd meson: Fix include file for swig python build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Steven Rostedt (Google)" <rostedt@xxxxxxxxxxx>

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@xxxxxxxxxxxxxxx/

Signed-off-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>
---
 python/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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',
-- 
2.43.0





[Index of Archives]     [Linux USB Development]     [Linux USB Development]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux