Add pkg-config file support for libcjson

We configure and install a pkg-config file so that our compilation and
linking flags can be more easily found using pkg-config.
This commit is contained in:
Paulo Antonio Alvarez
2016-11-14 19:14:09 +07:00
committed by Max Bruckner
parent 32a9870786
commit d5baeff85f
2 changed files with 17 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
prefix=@prefix@
libdir=@libdir@
includedir=${prefix}/include/cJSON
Name: libcJSON
Version: 1.0
Description: Ultralightweight JSON parser in ANSI C
Libs: -L${libdir} -lcJSON
Cflags: -I${includedir}