瀏覽代碼

pkg-config: Add URL and link math library

Max Bruckner 8 年之前
父節點
當前提交
de992ec3c9
共有 2 個文件被更改,包括 3 次插入0 次删除
  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