Author: nbd Date: 2016-01-17 11:42:32 +0100 (Sun, 17 Jan 2016) New Revision: 48267
Modified: trunk/include/prereq-build.mk Log: Support LibreSSL as provider of openssl The build scripts check for openssl by grepping the string "OpenSSL" in the output of openssl version command. LibreSSL fails this test as it outputs something like "LibreSSL 2.2.4". This patch fix the prereq-bulid.mk file so that it accepts LibreSSL as openssl provider as well. Signed-off-by: Marek Behun <[email protected]> Modified: trunk/include/prereq-build.mk =================================================================== --- trunk/include/prereq-build.mk 2016-01-17 10:42:23 UTC (rev 48266) +++ trunk/include/prereq-build.mk 2016-01-17 10:42:32 UTC (rev 48267) @@ -161,7 +161,7 @@ file --version 2>&1 | grep file)) $(eval $(call SetupHostCommand,openssl,Please install the 'openssl' utility, \ - openssl version | grep OpenSSL)) + openssl version | grep '\(OpenSSL\|LibreSSL\)')) # Install ldconfig stub _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
