aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar João Paquim <jpaquim@users.noreply.github.com> 2022-11-01 20:30:09 +0000
committerGravatar GitHub <noreply@github.com> 2022-11-01 13:30:09 -0700
commit2fe27fdeea2d805383bd30bfe9883115712a4df0 (patch)
tree0598c9667f291429dab815e9898b237821f89769
parent19afe95cc6918681b622f429b43fbbac0ebc6df4 (diff)
downloadbun-2fe27fdeea2d805383bd30bfe9883115712a4df0.tar.gz
bun-2fe27fdeea2d805383bd30bfe9883115712a4df0.tar.zst
bun-2fe27fdeea2d805383bd30bfe9883115712a4df0.zip
Fix check for ninja on Debian/Ubuntu (#1436)
Even though the package is named ninja-build, the ninja binary is still named ninja, so use `which ninja` to check for it
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a20ea074c..56633ba2a 100644
--- a/Makefile
+++ b/Makefile
@@ -611,7 +611,7 @@ require:
@go version >/dev/null 2>&1 || (echo -e "ERROR: go is required."; exit 1)
@which aclocal > /dev/null || (echo -e "ERROR: automake is required. Install with:\n\n $(POSIX_PKG_MANAGER) install automake"; exit 1)
@which $(LIBTOOL) > /dev/null || (echo -e "ERROR: libtool is required. Install with:\n\n $(POSIX_PKG_MANAGER) install libtool"; exit 1)
- @which $(PKGNAME_NINJA) > /dev/null || (echo -e "ERROR: Ninja is required. Install with:\n\n $(POSIX_PKG_MANAGER) install $(PKGNAME_NINJA)"; exit 1)
+ @which ninja > /dev/null || (echo -e "ERROR: Ninja is required. Install with:\n\n $(POSIX_PKG_MANAGER) install $(PKGNAME_NINJA)"; exit 1)
@echo "You have the dependencies installed! Woo"
init-submodules: