diff --git a/hiredis-client/ext/redis_client/hiredis/extconf.rb b/hiredis-client/ext/redis_client/hiredis/extconf.rb index 20042cf..3ad6b9f 100644 --- a/hiredis-client/ext/redis_client/hiredis/extconf.rb +++ b/hiredis-client/ext/redis_client/hiredis/extconf.rb @@ -47,7 +47,7 @@ def build_hiredis env_args = env.map { |k, v| "#{k}=#{v}" } Dir.chdir(hiredis_dir) do - unless system(make_program, "static", *env_args) + unless system(*Shellwords.split(make_program), "static", *env_args) raise "Building hiredis failed" end end