build: Add cstack and logger pathes to iotivity.pc.in
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Sat, 8 Oct 2016 12:16:12 +0000 (14:16 +0200)
committerPhilippe Coval <philippe.coval@osg.samsung.com>
Wed, 5 Apr 2017 12:18:38 +0000 (14:18 +0200)
If using iotivity from outside it prevents errors like:

  resource/OCApi.h:34:21: fatal error: octypes.h: No such file or directory
  resource/OCApi.h:38:25: fatal error: oc_logger.hpp: No such file or directory

Change-Id: I4aa09152e26435ecf9564f839ebfdf6c8ab66db8
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
iotivity.pc.in

index f5c7c394f3c5499c4031547ae2fafb828a42cc40..4abad63a76c4149ca6008ec96ed7a20ace967632 100644 (file)
@@ -14,6 +14,8 @@ Requires:
 Libs: -L${libdir} -loc -loc_logger -loc_logger_core -loctbstack -lconnectivity_abstraction @LIBS@
 Cflags: -I${includedir}/resource \
                        -I${includedir}/c_common \
+                       -I${includedir}/resource/stack \
+                       -I${includedir}/resource/oc_logger \
                        -I${svcincludedir}/resource-encapsulation \
                        -I${svcincludedir}/resource-container \
                        -I${svcincludedir}/resource-hosting \