[ruby/cgi] Add TruffleRuby support and add it in CI

1240fec9c9
This commit is contained in:
Benoit Daloze 2023-05-29 13:53:49 +02:00 committed by git
parent 610038f3bf
commit f61bd3ca80
3 changed files with 13 additions and 6 deletions

View file

@ -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