blob: b53b63e45505a9b8dd7ff2734c0d7468563ef6ea (
plain)
1
2
3
4
5
6
7
8
9
|
# frozen_string_literal: true
require 'mkmf'
if RUBY_ENGINE == 'ruby'
$INCFLAGS << " -I$(top_srcdir)" if $extmk
have_func("onig_region_memsize", "ruby.h")
create_makefile 'strscan'
else
File.write('Makefile', dummy_makefile("").join)
end
|