app: fix build with extra include paths
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 15 Jan 2021 11:10:47 +0000 (11:10 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 21 Jan 2021 09:27:47 +0000 (10:27 +0100)
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@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
app/meson.build

index 903117b..87fc195 100644 (file)
@@ -66,6 +66,7 @@ foreach app:apps
                                link_args: ldflags,
                                link_whole: link_libs,
                                dependencies: dep_objs,
+                               include_directories: includes,
                                install_rpath: join_paths(get_option('prefix'),
                                                 driver_install_path),
                                install: true)