idealvin / coost

A tiny boost library in C++11.
Other
3.99k stars 562 forks source link

xmake如何编译android的库呢 需要带上libcurl oppenssl?我编译提示libcurl不支持 #297

Open kamylee opened 1 year ago

kamylee commented 1 year ago

我这样编译的: xmake f -p android --ndk=d:/Microsoft/AndroidNDK/android-ndk-r21e -a arm64-v8a -k shared -m debug --with_libcurl=true --with_openssl=true

提示: checking for Android SDK directory ... no checking for NDK directory ... d:\Microsoft\AndroidNDK\android-ndk-r21e checking for SDK version of NDK ... 21 checking for cxxabi ... ok note: the following packages are unsupported on android/arm64-v8a: -> libcurl 7.84.0

我要怎么解决啊?感谢感谢!

kamylee commented 1 year ago

我已经在本地编译了个android的libcurl.so。我要如何让xmake使用我本地的这个libcurl.so呢?

waruqi commented 1 year ago

提个 pr 到 https://github.com/xmake-io/xmake-repo 放开 curl android 支持

或者自己 add_linkdirs add_links 去link下本地库

idealvin commented 1 year ago

coost目前并未在android上测试,另外android上不支持hook,基于libcurlhttp::Client 无法使用