diff options
author | 2022-11-01 20:30:09 +0000 | |
---|---|---|
committer | 2022-11-01 13:30:09 -0700 | |
commit | 2fe27fdeea2d805383bd30bfe9883115712a4df0 (patch) | |
tree | 0598c9667f291429dab815e9898b237821f89769 | |
parent | 19afe95cc6918681b622f429b43fbbac0ebc6df4 (diff) | |
download | bun-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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |