Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kamylee opened this issue Jan 20, 2023 · 3 comments

Comments

@kamylee
Copy link

kamylee commented Jan 20, 2023

我这样编译的:
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
Copy link
Author

kamylee commented Jan 20, 2023

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

@waruqi
Copy link
Collaborator

waruqi commented Jan 20, 2023

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

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

@idealvin
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants