diff --git a/libs/libyang/Makefile b/libs/libyang/Makefile index f10a8f7f7..ab32e25e1 100644 --- a/libs/libyang/Makefile +++ b/libs/libyang/Makefile @@ -56,7 +56,7 @@ CMAKE_OPTIONS += \ define Build/InstallDev $(INSTALL_DIR) $(1)/usr/lib - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libyang.so* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libyang.so* $(1)/usr/lib/ $(INSTALL_DIR) $(1)/usr/include/libyang $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/include/libyang/* $(1)/usr/include/libyang/ @@ -67,7 +67,7 @@ endef define Package/libyang/install $(INSTALL_DIR) $(1)/usr/lib - $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libyang.so* $(1)/usr/lib/ + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libyang.so* $(1)/usr/lib/ $(INSTALL_DIR) $(1)/usr/lib/libyang $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libyang/* $(1)/usr/lib/libyang/