diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-06-03 16:37:14 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-06-03 16:37:14 -0700 |
commit | 03b36c2c1ddb358265accf69c72c4e60177dbcc9 (patch) | |
tree | e115875caedb1e94493a897c2fd5ffa20f562b64 | |
parent | 17a2d5e32189fab2956ff4ed8023a040157b3b26 (diff) | |
download | libyajl2-gem-03b36c2c1ddb358265accf69c72c4e60177dbcc9.tar.gz |
rbx mkmf doesn't like make V=1
-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 d3215fe..d656a86 100644 --- a/ext/libyajl2/extconf.rb +++ b/ext/libyajl2/extconf.rb @@ -54,8 +54,9 @@ module Libyajl2Build File.open("Makefile", 'w+') {|f| f.write(makefile) } end + system("pwd") # we cheat and build it right away... - system("make V=1 1>&2") # for rubinius we send stdout to stderr + system("make >make.out 2>&1") || raise # rubinius doesn't like the output this generates # ...so we can hack up what install does later and copy over the include files # not sure why ruby windows produces .so's instead of .dll's |