summaryrefslogtreecommitdiff
path: root/package/libreadline
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-08-27 20:13:17 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-08-27 20:13:17 +0000
commite874503f3fa18e01da269006802db589cebdf23e (patch)
treeb75b359d6a35a521717c57fca8d6f74fc666c37e /package/libreadline
parent5cc80a7c9a2d13843b5fabcad86fc4f9533c7e80 (diff)
downloadmtk-20170518-e874503f3fa18e01da269006802db589cebdf23e.zip
mtk-20170518-e874503f3fa18e01da269006802db589cebdf23e.tar.gz
mtk-20170518-e874503f3fa18e01da269006802db589cebdf23e.tar.bz2
libreadline: install *.so symlinks as well (#4872)
SVN-Revision: 22824
Diffstat (limited to 'package/libreadline')
-rw-r--r--package/libreadline/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/libreadline/Makefile b/package/libreadline/Makefile
index 2f5cb60..90219e5 100644
--- a/package/libreadline/Makefile
+++ b/package/libreadline/Makefile
@@ -52,15 +52,15 @@ define Build/Compile
endef
define Build/InstallDev
- mkdir -p $(1)/usr/include
+ $(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/readline $(1)/usr/include/
- mkdir -p $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{history,readline}.{a,so.5,so.5.2} $(1)/usr/lib/
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{history,readline}.{a,so,so.5,so.5.2} $(1)/usr/lib/
endef
define Package/libreadline/install
$(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{history,readline}.{so.5,so.5.2} $(1)/usr/lib/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/lib{history,readline}.{so,so.5,so.5.2} $(1)/usr/lib/
endef
$(eval $(call BuildPackage,libreadline))