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

zlib symbols are missing #39

Closed
skindhu opened this issue Mar 3, 2017 · 1 comment
Closed

zlib symbols are missing #39

skindhu opened this issue Mar 3, 2017 · 1 comment

Comments

@skindhu
Copy link

skindhu commented Mar 3, 2017

when i add LOCAL_LDLIBS += -lz in Android.mk

then

Android NDK: WARNING:jni/Android.mk:curl: LOCAL_LDLIBS is always ignored for static libraries

@gustavogenovese
Copy link
Owner

Exactly, it's a static library, not dynamic. You have to add -lz to your library, check test Android project, which builds a dynamic library using this static lib, and it makes use of the -lz linker flag

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

2 participants