Skip to content

Commit 2010773

Browse files
meson.build: add liblog as a runtime library
Signed-off-by: DreamConnected <1487442471@qq.com>
1 parent 6eedcc5 commit 2010773

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

meson.build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,8 @@ srcconf.set10('HAVE_FMEMOPEN', have)
465465
have = cc.get_id().contains('clang') and cc.has_header('android/log.h')
466466
srcconf.set10('IS_BIONIC', have)
467467
if want_android_log
468-
liblog = cc.find_library('log')
468+
liblog = cc.find_library('log', required: true)
469+
pkgconfig_libs += liblog
469470
liblxc_dependencies += liblog
470471
srcconf.set10('USE_ANDROID_LOG', liblog.found())
471472
endif

0 commit comments

Comments
 (0)