Author: nbd
Date: 2014-10-20 11:23:55 +0200 (Mon, 20 Oct 2014)
New Revision: 42999

Modified:
   trunk/include/prereq-build.mk
Log:
prereq-build: rename the openssl check to libssl, add back the old check - it 
is required after all

Signed-off-by: Felix Fietkau <[email protected]>

Modified: trunk/include/prereq-build.mk
===================================================================
--- trunk/include/prereq-build.mk       2014-10-20 09:18:36 UTC (rev 42998)
+++ trunk/include/prereq-build.mk       2014-10-20 09:23:55 UTC (rev 42999)
@@ -168,15 +168,19 @@
        Please install the subversion client. \
 ))
 
-define Require/openssl
+define Require/libssl
        echo 'int main(int argc, char **argv) { SSL_library_init(); return 0; 
}' | \
                gcc -include openssl/ssl.h -x c -o $(TMP_DIR)/a.out - -lcrypto 
-lssl
 endef
 
-$(eval $(call Require,openssl, \
-       Please install openssl (with development headers) \
+$(eval $(call Require,libssl, \
+       Please install the openssl library (with development headers) \
 ))
 
+$(eval $(call RequireCommand,openssl, \
+       Please install openssl. \
+))
+
 define Require/gnu-find
        $(FIND) --version 2>/dev/null
 endef
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to