libssh2 :
./configure CC=arm-linux-gnueabihf-gcc \
--prefix=/mnt/c/Users/陈荣/Desktop/lib \
--host=arm-linux \
--with-libssl-prefix=/mnt/c/Users/陈荣/Desktop/openssl
#(/mnt/c/Users/陈荣/Desktop/openssl 这个目录下只要有include和lib目录就可以)
libcurl(变态方法):
需要依赖libssh2
./configure CC=arm-linux-gnueabihf-gcc \
--prefix=/mnt/c/Users/陈荣/Desktop/lib \
--host=arm-linux-gnueabihf \
--with-libssh2 \
LDFLAGS="-Wl,-rpath,/mnt/c/Users/陈荣/Desktop/lib -L/mnt/c/Users/陈荣/Desktop/lib/" \ #指定特殊路径
CFLAGS="-I/mnt/c/Users/陈荣/Desktop/include/"