diff options
Diffstat (limited to 'ext/libyajl2/extconf.rb')
-rw-r--r-- | ext/libyajl2/extconf.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/libyajl2/extconf.rb b/ext/libyajl2/extconf.rb index 0800f1f..c4e9b31 100644 --- a/ext/libyajl2/extconf.rb +++ b/ext/libyajl2/extconf.rb @@ -1,6 +1,7 @@ require 'rbconfig' require 'fileutils' +require 'shellwords' if ENV["USE_SYSTEM_LIBYAJL2"] File.open("Makefile", "w+") do |f| @@ -32,7 +33,7 @@ module Libyajl2Build end def self.prefix - PREFIX + PREFIX.shellescape end def self.deps |