summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2025-06-12 10:32:49 +0900
committerHiroshi SHIBATA <[email protected]>2025-06-12 10:34:31 +0900
commit4585ccd90f4251f4d42bfc338a5e14100236fa15 ()
tree470312cdbb0a2ec645c4c80b26fa8de8a448c3c8 /ext
parent7854b71e7f94eb4484c5ad72f5b6e3d0839fc24b (diff)
[ruby/strscan] Update extconf.rb
(https://.com/ruby/strscan/pull/158) - `have_func` includes "ruby.h" by default. - include "ruby/re.h" where `rb_reg_onig_match` is declared. https://.com/ruby/strscan/commit/1ac96f47e9
-rw-r--r--ext/strscan/extconf.rb4
1 files changed, 2 insertions, 2 deletions
@@ -2,8 +2,8 @@
require 'mkmf'
if RUBY_ENGINE == 'ruby'
$INCFLAGS << " -I$(top_srcdir)" if $extmk
- have_func("onig_region_memsize", "ruby.h")
- have_func("rb_reg_onig_match", "ruby.h")
create_makefile 'strscan'
else
File.write('Makefile', dummy_makefile("").join)