aboutsummaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorJosep Puigdemont <josep.puigdemont@linaro.org>2018-03-09 16:58:15 +0100
committerMaxim Uvarov <maxim.uvarov@linaro.org>2018-03-13 19:26:03 +0300
commit9a1d48b1262d88e55922c4e1ed9f91ed2e3376d7 (patch)
tree6e8694a786227897cd978390a85c0489aa8d36c9 /m4
parent1e70adc3ae54b0c4518bdb51d94301f1dafe4ebf (diff)
odp_dpdk.m4: use correct installation directory
We are currently using the include path used when building DPDK, however when installing DPDK, the headers are put in ${prefix}/include/dpdk. We should use the latter in our include path. Signed-off-by: Josep Puigdemont <josep.puigdemont@linaro.org> Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'm4')
-rw-r--r--m4/odp_dpdk.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/odp_dpdk.m4 b/m4/odp_dpdk.m4
index 6e2a914b1..b94c9b557 100644
--- a/m4/odp_dpdk.m4
+++ b/m4/odp_dpdk.m4
@@ -120,7 +120,7 @@ AS_IF([test "x$1" = "xsystem"], [dnl
fi
DPDK_LIB_PATH=`AS_DIRNAME(["$DPDK_LIB_PATH"])`
], [dnl
- DPDK_CPPFLAGS="-isystem $1/include"
+ DPDK_CPPFLAGS="-isystem $1/include/dpdk"
DPDK_LIB_PATH="$1/lib"
DPDK_LDFLAGS="-L$DPDK_LIB_PATH"
if test -r "$DPDK_LIB_PATH"/libdpdk.so ; then