From: Philippe Coval Date: Fri, 10 Mar 2017 18:07:29 +0000 (+0100) Subject: build: Add stack and logger pathes to pkg-config X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=61fb2859fe0a86eca45ea8520aae56378c6ecf13;p=contrib%2Fiotivity.git 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 --- 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 \