Skip to content

Commit

Permalink
pkg-config: Fix Cflags in package-config files
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
amittbose authored and Thomas Graf committed Jan 12, 2015
1 parent 0f3358e commit 0400985
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/libopenvswitch.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ Description: Open vSwitch library
Version: @VERSION@
Libs: -L${libdir} -lopenvswitch
Libs.private: @LIBS@
Cflags: -I${includedir}/openvswitch
Cflags: -I${includedir}
2 changes: 1 addition & 1 deletion lib/libsflow.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -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}
2 changes: 1 addition & 1 deletion ofproto/libofproto.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -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}
2 changes: 1 addition & 1 deletion ovsdb/libovsdb.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 0400985

Please sign in to comment.