Permalink
Browse files

Added Ruby library path

  • Loading branch information...
1 parent 7492faf commit 8a2adb0e6bf72e48555d6e2ee773671c58c1fd5c @wedesoft committed Oct 27, 2010
Showing with 3 additions and 3 deletions.
  1. +1 −1 README.md
  2. +2 −2 Rakefile
View
@@ -1,4 +1,4 @@
-Malloc
+malloc
======
This Ruby extension defines the class {Hornetseye::Malloc}. {Hornetseye::Malloc.new} allows you to allocate memory, using {Hornetseye::Malloc#+} one can do pointer manipulation, and {Hornetseye::Malloc#read} and {Hornetseye::Malloc#write} provide reading Ruby strings from memory and writing Ruby strings to memory.
View
@@ -7,7 +7,7 @@ require 'rake/loaders/makefile'
require 'rbconfig'
PKG_NAME = 'malloc'
-PKG_VERSION = '1.3.0'
+PKG_VERSION = '1.3.1'
CXX = ENV[ 'CXX' ] || 'g++'
STRIP = ENV[ 'STRIP' ] || 'strip'
RB_FILES = FileList[ 'lib/**/*.rb' ]
@@ -35,7 +35,7 @@ if RbConfig::CONFIG[ 'rubyhdrdir' ]
else
$CXXFLAGS = "#{$CXXFLAGS} -I#{RbConfig::CONFIG[ 'archdir' ]}"
end
-$LIBRUBYARG = RbConfig::CONFIG[ 'LIBRUBYARG' ]
+$LIBRUBYARG = "-L#{RbConfig::CONFIG[ 'libdir' ]} #{RbConfig::CONFIG[ 'LIBRUBYARG' ]}"
$SITELIBDIR = RbConfig::CONFIG[ 'sitelibdir' ]
$SITEARCHDIR = RbConfig::CONFIG[ 'sitearchdir' ]

0 comments on commit 8a2adb0

Please sign in to comment.