mirror of
https://github.com/json-c/json-c.git
synced 2026-03-25 16:09:06 +08:00
Re-add the "json" pkg-config file as a compatibility shim.
Also rename the json-c-uninstalled.pc file.
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -11,8 +11,9 @@
|
||||
/configure
|
||||
/depcomp
|
||||
/install-sh
|
||||
/json.pc
|
||||
/json-c.pc
|
||||
/json-uninstalled.pc
|
||||
/json-c-uninstalled.pc
|
||||
/libtool
|
||||
/ltmain.sh
|
||||
/Makefile
|
||||
|
||||
@@ -10,6 +10,9 @@ endif
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA = json-c.pc
|
||||
if ENABLE_OLDNAME_COMPAT
|
||||
pkgconfig_DATA += json.pc
|
||||
endif
|
||||
|
||||
libjson_cincludedir = $(includedir)/json-c
|
||||
libjson_cinclude_HEADERS = \
|
||||
|
||||
@@ -41,9 +41,10 @@ AM_PROG_LIBTOOL
|
||||
|
||||
AC_CONFIG_FILES([
|
||||
Makefile
|
||||
json.pc
|
||||
json-c.pc
|
||||
tests/Makefile
|
||||
json-uninstalled.pc
|
||||
json-c-uninstalled.pc
|
||||
])
|
||||
|
||||
AC_OUTPUT
|
||||
|
||||
11
json.pc.in
Normal file
11
json.pc.in
Normal file
@@ -0,0 +1,11 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
includedir=@includedir@
|
||||
|
||||
Name: json-c
|
||||
Description: JSON implementation in C, compat shim. Use json-c instead.
|
||||
Version: @VERSION@
|
||||
Requires: json-c
|
||||
Libs:
|
||||
Cflags:
|
||||
Reference in New Issue
Block a user