Browse Source

ninja: fix cmake host install

Passing DESTDIR is not needed with cmake packages.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
e230950212
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      devel/ninja/Makefile
  2. +1
    -1
      devel/ninja/ninja-cmake.mk

+ 1
- 1
devel/ninja/Makefile View File

@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=ninja PKG_NAME:=ninja
PKG_VERSION:=1.10.2 PKG_VERSION:=1.10.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/ninja-build/ninja/tar.gz/v$(PKG_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/ninja-build/ninja/tar.gz/v$(PKG_VERSION)?


+ 1
- 1
devel/ninja/ninja-cmake.mk View File

@ -9,7 +9,7 @@ define Host/Compile/Default
endef endef
define Host/Install/Default define Host/Install/Default
$(call Ninja,-C $(HOST_BUILD_DIR)/$(CMAKE_BINARY_SUBDIR) install,DESTDIR="$(HOST_INSTALL_DIR)")
$(call Ninja,-C $(HOST_BUILD_DIR)/$(CMAKE_BINARY_SUBDIR) install,)
endef endef
define Host/Uninstall/Default define Host/Uninstall/Default


Loading…
Cancel
Save