Browse Source

pkg-config: Add URL and link math library

Max Bruckner 8 years ago
parent
commit
de992ec3c9
2 changed files with 3 additions and 0 deletions
  1. 2 0
      libcjson.pc.in
  2. 1 0
      libcjson_utils.pc.in

+ 2 - 0
libcjson.pc.in

@@ -5,5 +5,7 @@ includedir=${prefix}/@includedir@
 Name: libcjson
 Version: @version@
 Description: Ultralightweight JSON parser in ANSI C
+URL: https://github.com/DaveGamble/cJSON
 Libs: -L${libdir} -lcjson
+Libs.Private: -lm
 Cflags: -I${includedir}

+ 1 - 0
libcjson_utils.pc.in

@@ -5,6 +5,7 @@ includedir=${prefix}/@includedir@
 Name: libcjson_utils
 Version: @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}
 Requires: libcjson