From f845e1bc9951ef40f2b3672d825aa67f6d6f8368 Mon Sep 17 00:00:00 2001 From: Yusuke Endoh Date: Thu, 10 Oct 2019 23:21:24 +0900 Subject: ext/syslog/extconf.rb: add -llog for Android Otherwise, requiring syslog results in: cannot locate symbol "__android_log_print" referenced by "syslog.so" --- ext/syslog/extconf.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/syslog') diff --git a/ext/syslog/extconf.rb b/ext/syslog/extconf.rb index 3bfea1fa73..1230a4d52e 100644 --- a/ext/syslog/extconf.rb +++ b/ext/syslog/extconf.rb @@ -4,6 +4,8 @@ require 'mkmf' +have_library("log") # for Android + have_header("syslog.h") && have_func("openlog") && have_func("setlogmask") && -- cgit v1.2.1