aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Bill Mill <bill@billmill.org> 2023-05-23 19:06:35 -0400
committerGravatar GitHub <noreply@github.com> 2023-05-23 16:06:35 -0700
commitbf759b62c69555b111af0bc9b85a5d7e9766b197 (patch)
treefbe28cc6326526f11aacb91e4da403c72b8b64f9
parent5b0fea7093e53cf1aa7022bbe1f5dc1ed1f4af74 (diff)
downloadbun-bf759b62c69555b111af0bc9b85a5d7e9766b197.tar.gz
bun-bf759b62c69555b111af0bc9b85a5d7e9766b197.tar.zst
bun-bf759b62c69555b111af0bc9b85a5d7e9766b197.zip
Add pkg-config as a build requirement (#3027)
Without pkg-config, the libarchive build fails in autogen.sh[1] 1: https://github.com/libarchive/libarchive/issues/742
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7fac236c1..be2f6bc9e 100644
--- a/Makefile
+++ b/Makefile
@@ -666,6 +666,7 @@ require:
@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 ninja > /dev/null || (echo -e "ERROR: Ninja is required. Install with:\n\n $(POSIX_PKG_MANAGER) install $(PKGNAME_NINJA)"; exit 1)
+ @which pkg-config > /dev/null || (echo -e "ERROR: pkg-config is required. Install with:\n\n $(POSIX_PKG_MANAGER) install pkg-config"; exit 1)
@echo "You have the dependencies installed! Woo"
init-submodules: