Explorar o código

Merge pull request #469 from moorthy-bs/master

pkgconfig: cjson include dir added
Alan Wang %!s(int64=5) %!d(string=hai) anos
pai
achega
2a6299d904
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      library_config/libcjson.pc.in
  2. 1 1
      library_config/libcjson_utils.pc.in

+ 1 - 1
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

+ 1 - 1
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