diff options
author | Benoit Daloze <[email protected]> | 2023-05-29 13:53:49 +0200 |
---|---|---|
committer | git <[email protected]> | 2023-05-29 19:33:38 +0000 |
commit | f61bd3ca806dab1de8052f70bb72938b8ef64edc (patch) | |
tree | fdfef12cd6bbb6fd15bbf2c52cd574ed36bd3eb1 /ext/cgi/escape | |
parent | 610038f3bf6eae50c0ad4f16af02d4c50a812e2a (diff) |
[ruby/cgi] Add TruffleRuby support and add it in CI
https://github.com/ruby/cgi/commit/1240fec9c9
Diffstat (limited to 'ext/cgi/escape')
-rw-r--r-- | ext/cgi/escape/extconf.rb | 6 |
1 files changed, 5 insertions, 1 deletions
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 |