Explorar el Código

Merge pull request #469 from moorthy-bs/master

pkgconfig: cjson include dir added
Alan Wang hace 5 años
padre
commit
2a6299d904
Se han modificado 2 ficheros con 2 adiciones y 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