Add a pkgconfig file for uninstalled builds

This allows systems certain types of build setups to work. Specifically, this
will help when building on Android and using json-c as a dependency for another
package.
This commit is contained in:
Arun Raghavan
2012-01-20 12:59:30 +05:30
parent f931f61851
commit cb29a77c94
2 changed files with 12 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ AC_CONFIG_FILES([
Makefile
json.pc
tests/Makefile
json-uninstalled.pc
])
AC_OUTPUT

11
json-uninstalled.pc.in Normal file
View File

@@ -0,0 +1,11 @@
prefix=
exec_prefix=
libdir=@abs_top_builddir@
includedir=@abs_top_srcdir@
Name: json
Description: JSON implementation in C
Version: @VERSION@
Requires:
Libs: -L@abs_top_builddir@ -ljson
Cflags: -I@abs_top_srcdir@