mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-24 23:53:02 +00:00
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> SVN-Revision: 42999
This commit is contained in:
parent
a1b6a7e572
commit
549f7d0366
@ -168,13 +168,17 @@ $(eval $(call RequireCommand,svn, \
|
|||||||
Please install the subversion client. \
|
Please install the subversion client. \
|
||||||
))
|
))
|
||||||
|
|
||||||
define Require/openssl
|
define Require/libssl
|
||||||
echo 'int main(int argc, char **argv) { SSL_library_init(); return 0; }' | \
|
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
|
gcc -include openssl/ssl.h -x c -o $(TMP_DIR)/a.out - -lcrypto -lssl
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call Require,openssl, \
|
$(eval $(call Require,libssl, \
|
||||||
Please install openssl (with development headers) \
|
Please install the openssl library (with development headers) \
|
||||||
|
))
|
||||||
|
|
||||||
|
$(eval $(call RequireCommand,openssl, \
|
||||||
|
Please install openssl. \
|
||||||
))
|
))
|
||||||
|
|
||||||
define Require/gnu-find
|
define Require/gnu-find
|
||||||
|
Loading…
Reference in New Issue
Block a user