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:
parent
a886d5cb79
commit
f845e1bc99
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@
|
|||
|
||||
require 'mkmf'
|
||||
|
||||
have_library("log") # for Android
|
||||
|
||||
have_header("syslog.h") &&
|
||||
have_func("openlog") &&
|
||||
have_func("setlogmask") &&
|
||||
|
|
Loading…
Reference in a new issue