diff options
author | John Crispin <blogic@openwrt.org> | 2014-01-12 12:06:57 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-01-12 12:06:57 +0000 |
commit | 38e2f972259ed4b21a6c50730202760ca01def8e (patch) | |
tree | 41eabd672d30e080866e20bab780f9c15830fcec /package/libs | |
parent | d8f87323d2947f8eb10c7f50fada66ac1414d18a (diff) | |
download | master-187ad058-38e2f972259ed4b21a6c50730202760ca01def8e.tar.gz master-187ad058-38e2f972259ed4b21a6c50730202760ca01def8e.tar.bz2 master-187ad058-38e2f972259ed4b21a6c50730202760ca01def8e.zip |
libjson-c: also install .pc file for compatibility libjson
Older packages, which did not follow the renaming yet, do not
find the library otherwise via pkgconfig.
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39228 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libs')
-rw-r--r-- | package/libs/libjson-c/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/libs/libjson-c/Makefile b/package/libs/libjson-c/Makefile index 3a8a41b515..4e0c47da3c 100644 --- a/package/libs/libjson-c/Makefile +++ b/package/libs/libjson-c/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2010 OpenWrt.org +# Copyright (C) 2006-2014 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -61,6 +61,7 @@ define Build/InstallDev $(CP) $(PKG_INSTALL_DIR)/usr/lib/libjson-c.{a,so*} $(1)/usr/lib/ $(INSTALL_DIR) $(1)/usr/lib/pkgconfig $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/json-c.pc $(1)/usr/lib/pkgconfig/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/json.pc $(1)/usr/lib/pkgconfig/ endef define Package/libjson-c/install |