path: root/lib/librte_kvargs
diff options
authorBruce Richardson <>2018-07-19 15:26:48 +0100
committerThomas Monjalon <>2018-07-26 10:14:06 +0200
commitecea301994105fc3534eaac74c104777192473a4 (patch)
treea12828004c7e14b7ee531245c7a00634dfb03ce1 /lib/librte_kvargs
parent3e3eeb4d5ff754c3425fc38a4cbd2f6be872f1d9 (diff)
kvargs: fix building with meson outside source tree
When building DPDK with meson with the <builddir> being outside the source directory, an error was generated as the path to the EAL headers was not found. The path specified for the includes backed out unnecessarily far and so broke when the build directory was not in the expected location of just inside the source dir. Changing the path to be shorter, just going down one level and then into EAL builds for both cases - where builddir is in source directory, and also when it's outside it. Fixes: 092ee516496d ("kvargs: build before EAL") Reported-by: Anatoly Burakov <> Signed-off-by: Bruce Richardson <> Tested-by: Anatoly Burakov <>
Diffstat (limited to 'lib/librte_kvargs')
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/librte_kvargs/ b/lib/librte_kvargs/
index a1c7249..acd3e54 100644
--- a/lib/librte_kvargs/
+++ b/lib/librte_kvargs/
@@ -2,7 +2,7 @@
# Copyright(c) 2017 Intel Corporation
includes = [global_inc]
-includes += include_directories('../../../lib/librte_eal/common/include')
+includes += include_directories('../librte_eal/common/include')
version = 1
sources = files('rte_kvargs.c')