1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

ext/syslog/extconf.rb: add -llog for Android

Otherwise, requiring syslog results in:

    cannot locate symbol "__android_log_print" referenced by "syslog.so"
This commit is contained in:
Yusuke Endoh 2019-10-10 23:21:24 +09:00
parent a886d5cb79
commit f845e1bc99

View file

@ -4,6 +4,8 @@
require 'mkmf'
have_library("log") # for Android
have_header("syslog.h") &&
have_func("openlog") &&
have_func("setlogmask") &&