From f61bd3ca806dab1de8052f70bb72938b8ef64edc Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Mon, 29 May 2023 13:53:49 +0200 Subject: [ruby/cgi] Add TruffleRuby support and add it in CI https://github.com/ruby/cgi/commit/1240fec9c9 --- ext/cgi/escape/extconf.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ext') diff --git a/ext/cgi/escape/extconf.rb b/ext/cgi/escape/extconf.rb index 16e8ff224d..73acd89ca8 100644 --- a/ext/cgi/escape/extconf.rb +++ b/ext/cgi/escape/extconf.rb @@ -1,3 +1,7 @@ require 'mkmf' -create_makefile 'cgi/escape' +if RUBY_ENGINE == 'truffleruby' + File.write("Makefile", dummy_makefile($srcdir).join("")) +else + create_makefile 'cgi/escape' +end -- cgit v1.2.3