summaryrefslogtreecommitdiff
path: root/package/libreadline/Makefile
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-27 20:13:17 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-27 20:13:17 +0000
commit9ea9f41d70a5d697dbcdc481f2b1f526001bd815 (patch)
treebbd948587d96bf079cb650e4a65bbbb239d36750 /package/libreadline/Makefile
parent0451722e0c464289f906f2030161cd22df21ebd3 (diff)
[package] libreadline: install *.so symlinks as well (#4872)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22824 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/libreadline/Makefile')
-rw-r--r--package/libreadline/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/libreadline/Makefile b/package/libreadline/Makefile
index 2f5cb60e84..90219e55b6 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))