aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@gmail.com>2017-07-06 19:02:11 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2017-07-06 19:02:11 +0100
commitaa1ca013bdb54877b1b40757b22d5da4f98ca633 (patch)
treec1156a3a88f11a3f04a1985faeb3703caf9c7a1c
parent6be00c99dd80857dab8f7e8cffc23501fb2917fa (diff)
Order pkgconfig includes with arch-specific first
To make sure that the proper architecture-specific headers are used in a multiarch environment, make pkg-config flag list the arch-specific include directory first so that the compilers will pick the headers from there in case of ambiguity. Change-Id: If3f5f9fee439029129695273183faf72c5ca5798 Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
-rw-r--r--debian/libdpdk.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/libdpdk.pc.in b/debian/libdpdk.pc.in
index 9fc8f74f..cd6c3fcb 100644
--- a/debian/libdpdk.pc.in
+++ b/debian/libdpdk.pc.in
@@ -8,4 +8,4 @@ Name: dpdk
Description: Data Plane Development Kit library
Version: @VERSION@
Libs: -L${libdir} @DPDK_LIBS@ -ldl -lm -lpthread -lz
-Cflags: -I${includedir}/dpdk -I${include_arch_dir}/dpdk -include ${include_arch_dir}/dpdk/rte_config.h
+Cflags: -include ${include_arch_dir}/dpdk/rte_config.h -I${include_arch_dir}/dpdk -I${includedir}/dpdk