mirror of
https://github.com/json-c/json-c.git
synced 2026-03-20 21:49:07 +08:00
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:
@@ -35,6 +35,7 @@ AC_CONFIG_FILES([
|
||||
Makefile
|
||||
json.pc
|
||||
tests/Makefile
|
||||
json-uninstalled.pc
|
||||
])
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
11
json-uninstalled.pc.in
Normal file
11
json-uninstalled.pc.in
Normal 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@
|
||||
Reference in New Issue
Block a user