summaryrefslogtreecommitdiff
path: root/spec/rubyspec/optional/capi/spec_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/optional/capi/spec_helper.rb')
-rw-r--r--spec/rubyspec/optional/capi/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/rubyspec/optional/capi/spec_helper.rb b/spec/rubyspec/optional/capi/spec_helper.rb
index 71b765de07..c250253919 100644
--- a/spec/rubyspec/optional/capi/spec_helper.rb
+++ b/spec/rubyspec/optional/capi/spec_helper.rb
@@ -59,7 +59,7 @@ def compile_extension(name)
ENV.delete "MAKEFLAGS" # Fix make warning when invoked with -j in MRI
# Do not capture stderr as we want to show compiler warnings
- output = `#{make} V=1`
+ output = `#{make} V=1 DESTDIR=`
raise "#{make} failed:\n#{output}" unless $?.success?
$stderr.puts output if debug