From 61fb2859fe0a86eca45ea8520aae56378c6ecf13 Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Fri, 10 Mar 2017 19:07:29 +0100 Subject: [PATCH] build: Add stack and logger pathes to pkg-config This will prevent errors, like: /usr/include/iotivity/resource/octypes.h:32:27: \ fatal error: ocstackconfig.h: No such file or directory It was tested on Debian Bug: https://jira.iotivity.org/browse/IOT-1745 Change-Id: I8a4f06cd05158e8659628a654dfdbe7e1784e4bc Signed-off-by: Philippe Coval Reviewed-on: https://gerrit.iotivity.org/gerrit/17845 Tested-by: jenkins-iotivity Reviewed-by: Mats Wichmann Reviewed-by: Ashok Babu Channa --- iotivity.pc.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iotivity.pc.in b/iotivity.pc.in index ccd2cfe..d3d88a1 100644 --- a/iotivity.pc.in +++ b/iotivity.pc.in @@ -13,6 +13,8 @@ URL: https://www.iotivity.org Requires: Libs: -L${libdir} -loc -loc_logger -loc_logger_core -loctbstack -lconnectivity_abstraction @LIBS@ Cflags: -I${includedir}/resource \ + -I${includedir}/resource/stack \ + -I${includedir}/resource/oc_logger \ -I${includedir}/c_common \ -I${svcincludedir}/easy-setup \ -I${svcincludedir}/notification \ -- 2.7.4