VS 2017 android OpenSSL problem

hi
i have a latest coco2d, and trying build that in visual studio.
Compiler: Clang 5.0
NDK: 15c
all the time i get the linking error of ssl:

..\..\cocos2d-x\external\websockets\prebuilt\android\x86/libwebsockets.a(ssl.c.o):/Users/minggo/SourceCode/cocos2d-x-3rd-party-libs-src/contrib/android-x86/websockets/lib/ssl.c:function lws_ssl_get_error: error: undefined reference to 'SSL_get_error'
..\..\cocos2d-x\external\websockets\prebuilt\android\x86/libwebsockets.a(ssl.c.o):/Users/minggo/SourceCode/cocos2d-x-3rd-party-libs-src/contrib/android-x86/websockets/lib/ssl.c:function lws_ssl_elaborate_error: error: undefined reference to 'ERR_get_error'
..\..\cocos2d-x\external\websockets\prebuilt\android\x86/libwebsockets.a(ssl.c.o):/Users/minggo/SourceCode/cocos2d-x-3rd-party-libs-src/contrib/android-x86/websockets/lib/ssl.c:function lws_ssl_elaborate_error: error: undefined reference to 'ERR_error_string_n'
..\..\cocos2d-x\external\websockets\prebuilt\android\x86/libwebsockets.a(ssl.c.o):/Users/minggo/SourceCode/cocos2d-x-3rd-party-libs-src/contrib/android-x86/websockets/lib/ssl.c:function lws_ssl_elaborate_error: error: undefined 

and etc
i add path to library into linker settings, and add -lssl and -lcrypto for linking BEFORE libwebsocket and curl.
Any body have idea?
I ask you to pay attention to the not understandable path that are stored in the library (libwebsocket.a)

/Users/minggo/SourceCode/cocos2d-x-3rd-party-libs-src/contrib/android-x86/websockets/lib/ssl.c

I think maybe that mistake because websocket lib are stored in self install path ( something like build QT build from source) and that path used for build on on current user machine.
PS. Qt has problem when you moving library or root install path after building from source

UPD. i use project template from MS blog for 3.13 version cocos, but i fix all the problem with missing files and paths

You could try cloning libwebsockets and try to manual build it, then link against cocos. (websockets requires zlib some other libraries, simply use cmake).
There shouldn’t be any incompatibility agains the library.

For now i was disable websocket module because i dont use him.
But thanks for the advice
ps. But I think if cocos delivers prebuild library , it would be good to keep them in the actual state and check for usage in more compilers and tools

It would be great since some cocos2d-x extra modules are old. (Like mpg123 and chipmunk)