pkg-config: Fix Cflags in package-config files
authorAmit Bose <bose@noironetworks.com>
Fri, 9 Jan 2015 11:27:04 +0000 (12:27 +0100)
committerThomas Graf <tgraf@noironetworks.com>
Mon, 12 Jan 2015 12:03:01 +0000 (13:03 +0100)
Cflags in pkg-config files sets the include path to $PREFIX/openflow,
$PREFIX/openvswitch. This makes the including source files use the files
like
  include <util.h>
instead of
  include <openvswitch/util.h>

Signed-off-by: Amit Bose <bose@noironetworks.com>
lib/libopenvswitch.pc.in
lib/libsflow.pc.in
ofproto/libofproto.pc.in
ovsdb/libovsdb.pc.in

index 2a3f2ca..4c40a4c 100644 (file)
@@ -8,4 +8,4 @@ Description: Open vSwitch library
 Version: @VERSION@
 Libs: -L${libdir} -lopenvswitch
 Libs.private: @LIBS@
-Cflags: -I${includedir}/openvswitch
+Cflags: -I${includedir}
index e70a2b7..34bb7e3 100644 (file)
@@ -8,4 +8,4 @@ Description: sFlow library of Open vSwitch
 Version: @VERSION@
 Libs: -L${libdir} -lsflow
 Libs.private: @LIBS@
-Cflags: -I${includedir}/openvswitch
+Cflags: -I${includedir}
index dbedcce..49894fb 100644 (file)
@@ -8,4 +8,4 @@ Description: OpenFlow library of Open vSwitch
 Version: @VERSION@
 Libs: -L${libdir} -lofproto
 Libs.private: @LIBS@
-Cflags: -I${includedir}/openflow
+Cflags: -I${includedir}
index b86536f..f413386 100644 (file)
@@ -8,4 +8,4 @@ Description: OVSDB library of Open vSwitch
 Version: @VERSION@
 Libs: -L${libdir} -lovsdb
 Libs.private: @LIBS@
-Cflags: -I${includedir}/openvswitch
+Cflags: -I${includedir}