Skip to content

Commit

Permalink
DEBUG: cxxanyargs
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Sep 19, 2019
1 parent a98181e commit 2d1e3bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ext/-test-/cxxanyargs/extconf.rb
Expand Up @@ -2,6 +2,7 @@

cxx = MakeMakefile["C++"]

begin
ok = cxx.try_compile(<<~'begin', "") do |x|
#include "ruby/config.h"
Expand All @@ -20,6 +21,8 @@
# subject we are going to test in this extension library.
x.sub! %<#include "ruby.h">, ''
end
rescue
end

if ok
create_makefile("-test-/cxxanyargs")
Expand Down

0 comments on commit 2d1e3bd

Please sign in to comment.