[dpdk-dev] [PATCH 16/20] app: fix extra include paths for app builds

Bruce Richardson bruce.richardson at intel.com
Thu Jan 14 12:06:02 CET 2021


The "includes" variable in the app/meson.build file was ignored when
building the executable, meaning that apps couldn't pass additional
include paths directly back. Fix this to align with drivers and libs.

Fixes: fa036e70d794 ("app: generalize meson build")
Cc: stable at dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
 app/meson.build | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app/meson.build b/app/meson.build
index eb74f215a3..b6f2a6f56e 100644
--- a/app/meson.build
+++ b/app/meson.build
@@ -60,6 +60,7 @@ foreach app:apps
 				c_args: cflags,
 				link_whole: link_libs,
 				dependencies: dep_objs,
+				include_directories: includes,
 				install_rpath: join_paths(get_option('prefix'),
 						 driver_install_path),
 				install: true)
-- 
2.27.0



More information about the dev mailing list