summaryrefslogtreecommitdiff
path: root/ext/-test-/RUBY_ALIGNOF/extconf.rb
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-/RUBY_ALIGNOF/extconf.rb')
-rw-r--r--ext/-test-/RUBY_ALIGNOF/extconf.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/-test-/RUBY_ALIGNOF/extconf.rb b/ext/-test-/RUBY_ALIGNOF/extconf.rb
index ee6500d61e..98a370e987 100644
--- a/ext/-test-/RUBY_ALIGNOF/extconf.rb
+++ b/ext/-test-/RUBY_ALIGNOF/extconf.rb
@@ -1,2 +1,6 @@
# frozen_string_literal: false
+$objs = %W"c.#$OBJEXT"
+
+$objs << "cpp.#$OBJEXT" if MakeMakefile['C++'].have_devel?
+
create_makefile("-test-/RUBY_ALIGNOF")