mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
f845e1bc99
Otherwise, requiring syslog results in: cannot locate symbol "__android_log_print" referenced by "syslog.so"
13 lines
260 B
Ruby
13 lines
260 B
Ruby
# frozen_string_literal: false
|
|
# $RoughId: extconf.rb,v 1.3 2001/11/24 17:49:26 knu Exp $
|
|
# $Id$
|
|
|
|
require 'mkmf'
|
|
|
|
have_library("log") # for Android
|
|
|
|
have_header("syslog.h") &&
|
|
have_func("openlog") &&
|
|
have_func("setlogmask") &&
|
|
create_makefile("syslog")
|
|
|