libssh2: update InstallDev define 5669/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Sat, 24 Feb 2018 10:49:54 +0000 (11:49 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Sat, 24 Feb 2018 10:49:56 +0000 (11:49 +0100)
Use $(INSTALL_DATA) for headers and pkgconfig file.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
libs/libssh2/Makefile

index 9971659a2c5f258e15d78ff6d2797a6ed7c84f5e..d593c264bd6038a6bce76120e58365972b593bef 100644 (file)
@@ -52,9 +52,9 @@ define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include
        $(INSTALL_DIR) $(1)/usr/lib
        $(INSTALL_DIR) $(1)/usr/lib/pkgconfig
-       $(CP) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
+       $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/include/*.h $(1)/usr/include/
        $(CP) $(PKG_INSTALL_DIR)/usr/lib/libssh2.so* $(1)/usr/lib/
-       $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libssh2.pc $(1)/usr/lib/pkgconfig/
+       $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/libssh2.pc $(1)/usr/lib/pkgconfig/
 endef
 
 define Package/libssh2/install