From f1a5deded9d753269c29c1bdc3742853e976199e Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Wed, 14 Dec 2016 00:44:51 +0100 Subject: fix detection of openssl in Debian Sid $ openssl --help Invalid command '--help'; type "help" for a list. $ echo $? 1 $ openssl help ... $ echo $? 0 fix https://github.com/mxe/mxe/issues/1593 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a9616ef..044adb5 100644 --- a/Makefile +++ b/Makefile @@ -353,7 +353,7 @@ override MXE_PLUGIN_DIRS += $(realpath $(TOP_DIR)/plugins/native/$(OS_SHORT_NAME .PHONY: check-requirements define CHECK_REQUIREMENT - @if ! $(1) --help &>/dev/null; then \ + @if ! ( $(1) --help || $(1) help ) &>/dev/null; then \ echo 'Missing requirement: $(1)'; \ touch check-requirements-failed; \ fi -- cgit v0.12