[ruby/strscan] Run have_func with the header providing the declarations

https://github.com/ruby/strscan/commit/18c0a59b65
This commit is contained in:
Nobuyoshi Nakada 2025-07-01 17:38:25 +09:00 committed by nagachika
parent 2af51ec480
commit dd84f059cb

View File

@ -2,7 +2,7 @@
require 'mkmf'
if RUBY_ENGINE == 'ruby'
$INCFLAGS << " -I$(top_srcdir)" if $extmk
have_func("onig_region_memsize")
have_func("onig_region_memsize(NULL)")
have_func("rb_reg_onig_match", "ruby/re.h")
create_makefile 'strscan'
else