Commit eaa82115 authored by Jens Maier's avatar Jens Maier

Pass libdir on to ext configure script

parent 14ccd01e
......@@ -38,7 +38,7 @@ unless File.exists?("#{CWD}/dst/#{libdir}/libmsgpackc.a")
if RUBY_PLATFORM =~ /darwin/ and File.exist?("/usr/bin/gcc-4.2")
ENV['CC'] = '/usr/bin/gcc-4.2'
end
sys("./configure --disable-dependency-tracking --disable-shared --with-pic --prefix=#{CWD}/dst/")
sys("./configure --disable-dependency-tracking --disable-shared --with-pic --prefix=#{CWD}/dst/ --libdir=#{CWD}/dst/#{libdir}")
sys("make install")
end
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment