2023-08-19 06:20:00 +02:00
|
|
|
Use command -v in favor of which
|
2022-03-21 16:35:56 +01:00
|
|
|
|
|
|
|
--- a/Makerules
|
|
|
|
+++ b/Makerules
|
2023-08-19 06:20:00 +02:00
|
|
|
@@ -170,7 +170,7 @@
|
|
|
|
ifneq ($(ARCHFLAGS),)
|
|
|
|
$(warning "MacOS with ARCHFLAGS set. Assuming we are building for arm64, and setting HAVE_LIBCRYPTO to no.")
|
|
|
|
HAVE_LIBCRYPTO := no
|
|
|
|
- else ifeq (, $(shell which pkg-config))
|
|
|
|
+ else ifeq (, $(shell command -v pkg-config))
|
2022-03-21 16:35:56 +01:00
|
|
|
$(warning "No pkg-config found, install it for proper integration of libcrypto")
|
|
|
|
else
|
|
|
|
HAVE_LIBCRYPTO := $(shell pkg-config --exists 'libcrypto >= 1.1.0' && echo yes)
|