1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/-test-/RUBY_ALIGNOF/extconf.rb
卜部昌平 4cc501bcfd ext/-test-/RUBY_ALIGNOF: skip C++ when no compiler
C++ compilers are optional.  Skip C++ tests when they are absent.
2020-09-25 11:38:33 +09:00

6 lines
154 B
Ruby

# frozen_string_literal: false
$objs = %W"c.#$OBJEXT"
$objs << "cpp.#$OBJEXT" if MakeMakefile['C++'].have_devel?
create_makefile("-test-/RUBY_ALIGNOF")