From 7103844037668db882ae183845735ec08249fd1a Mon Sep 17 00:00:00 2001 From: Moorthy <36617743+moorthy-bs@users.noreply.github.com> Date: Thu, 30 Apr 2020 16:13:44 +0530 Subject: [PATCH] pkgconfig: cjson include dir added fixed #468 --- library_config/libcjson.pc.in | 2 +- library_config/libcjson_utils.pc.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library_config/libcjson.pc.in b/library_config/libcjson.pc.in index 157a465..de48fe0 100644 --- a/library_config/libcjson.pc.in +++ b/library_config/libcjson.pc.in @@ -7,4 +7,4 @@ Description: Ultralightweight JSON parser in ANSI C URL: https://github.com/DaveGamble/cJSON Libs: -L${libdir} -lcjson Libs.private: -lm -Cflags: -I${includedir} +Cflags: -I${includedir} -I${includedir}/cjson diff --git a/library_config/libcjson_utils.pc.in b/library_config/libcjson_utils.pc.in index 830259f..df2b4e5 100644 --- a/library_config/libcjson_utils.pc.in +++ b/library_config/libcjson_utils.pc.in @@ -6,5 +6,5 @@ Version: @PROJECT_VERSION@ Description: An implementation of JSON Pointer, Patch and Merge Patch based on cJSON. URL: https://github.com/DaveGamble/cJSON Libs: -L${libdir} -lcjson_utils -Cflags: -I${includedir} +Cflags: -I${includedir} -I${includedir}/cjson Requires: libcjson