Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add /ruby

  • Loading branch information...
commit 75535cb731ed27751140e5ac2c9f57441e1e8080 1 parent d1d542c
@raphink authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  build
View
3  build
@@ -121,9 +121,8 @@ build_ruby_bindings()
echo "Generating Ruby bindings for $arch"
sh -c "swig -ruby -o ruby/ohcount_wrap.c ruby/ohcount.i" || exit 1
mkdir -p ruby/$arch
- find `ruby -rmkmf -e 'print RbConfig::CONFIG["rubyhdrdir"]'`
sh -c "$cc $RB_SHARED ruby/ohcount_wrap.c $files -o ruby/$arch/$RB_SHARED_NAME \
- -I`ruby -rmkmf -e 'print RbConfig::CONFIG["rubyhdrdir"]'` \
+ -I`ruby -rmkmf -e 'print RbConfig::CONFIG["rubyhdrdir"]'`/ruby \
-lpcre -lmagic" || exit 1
sh -c "cd test/unit/ruby && ruby ruby_test.rb" || exit 1
}
Please sign in to comment.
Something went wrong with that request. Please try again.