libreadline: install *.so symlinks as well (#4872)
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 27 Aug 2010 20:13:17 +0000 (20:13 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 27 Aug 2010 20:13:17 +0000 (20:13 +0000)
SVN-Revision: 22824

package/libreadline/Makefile

index 2f5cb60e848a478312ed881506c50ba1c3eba5a4..90219e55b66b485914172562b3c2fd28564b4f0b 100644 (file)
@@ -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))