diff options
author | John Crispin <john@openwrt.org> | 2014-01-12 12:06:57 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-01-12 12:06:57 +0000 |
commit | ace5076a359ba6ea7f0158e036ed0bcde79704f6 (patch) | |
tree | 2556e4aa6a7c1b8aac0496e430be84c0b1f63551 /package/libs/libjson-c | |
parent | efad45bb0b2736bb6c1072a291ff6f24353c857f (diff) | |
download | mtk-20170518-ace5076a359ba6ea7f0158e036ed0bcde79704f6.zip mtk-20170518-ace5076a359ba6ea7f0158e036ed0bcde79704f6.tar.gz mtk-20170518-ace5076a359ba6ea7f0158e036ed0bcde79704f6.tar.bz2 |
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>
SVN-Revision: 39228
Diffstat (limited to 'package/libs/libjson-c')
-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 3a8a41b..4e0c47d 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 |