Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ if want_capabilities
code = '''
int main(int argc, char *argv[]) { return 0; };
'''
if libcap_static.found() and not IS_BIONIC
if libcap_static.found() and not cc.has_header('android/log.h') #has_define() is since Meson 1.3.0
libcap_static_linkable = cc.links(code, args: '-static', dependencies: libcap_static)
else
libcap_static_linkable = false
Expand Down