libssh: modify copy of .so files 4406/head
authorAntonio Paunovic <antonio.paunovic@sartura.hr>
Mon, 29 May 2017 12:08:51 +0000 (12:08 +0000)
committerAntonio Paunovic <antonio.paunovic@sartura.hr>
Mon, 29 May 2017 12:08:51 +0000 (12:08 +0000)
Signed-off-by: Antonio Paunovic <antonio.paunovic@sartura.hr>
libs/libssh/Makefile

index f241060d7fb303b1aa8f0e208888e8536407054a..d9ec6440da5937a0928b5f99b0aac96b58201111 100644 (file)
@@ -68,7 +68,7 @@ define Build/InstallDev
        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/libssh/* $(1)/usr/include/libssh/
 
        $(INSTALL_DIR) $(1)/usr/lib
-       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libssh* $(1)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libssh* $(1)/usr/lib/
 
        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
        $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* $(1)/usr/lib/pkgconfig/
@@ -76,7 +76,7 @@ endef
 
 define Package/libssh/install
        $(INSTALL_DIR) $(1)/usr/lib
-       $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libssh* $(1)/usr/lib/
+       $(CP) $(PKG_INSTALL_DIR)/usr/lib/libssh* $(1)/usr/lib/
 endef
 
 $(eval $(call BuildPackage,libssh))