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