Browse Source

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.
tags/json-c-0.11-20130402
Arun Raghavan 13 years ago
parent
commit
cb29a77c94
2 changed files with 12 additions and 0 deletions
  1. +1
    -0
      configure.in
  2. +11
    -0
      json-uninstalled.pc.in

+ 1
- 0
configure.in View File

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

AC_OUTPUT


+ 11
- 0
json-uninstalled.pc.in 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@

Loading…
Cancel
Save