Skip to content
Snippets Groups Projects
Commit d5d3585a authored by nbd's avatar nbd
Browse files

prereq-build: replace the openssl command check with a check for headers


Signed-off-by: default avatarFelix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42995 3c298f89-4303-0410-b956-a3cf2f4a3e73
parent 9430b0d9
No related branches found
No related tags found
No related merge requests found
......@@ -168,8 +168,13 @@ $(eval $(call RequireCommand,svn, \
Please install the subversion client. \
))
$(eval $(call RequireCommand,openssl, \
Please install openssl. \
define Require/openssl
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) \
))
define Require/gnu-find
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment