prereq-build: rename the openssl check to libssl, add back the old check - it is required after all
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42999 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
6c36b1d9d0
commit
a9160b7360
|
@ -168,13 +168,17 @@ $(eval $(call RequireCommand,svn, \
|
|||
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
|
||||
|
|
Loading…
Reference in New Issue