Skip to content

Commit

Permalink
Fixes to assist building Rubinius under Alpine Linux (with musl).
Browse files Browse the repository at this point in the history
Not 100% building yet, but these cover some outstanding issues
  • Loading branch information
CpuID authored and Yorick Peterse committed Oct 4, 2015
1 parent 4eec62a commit 2920c9e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion rakelib/platform.rake
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ file 'runtime/platform.conf' => deps do |task|

Rubinius::FFI::Generators::Constants.new 'rbx.platform.signal' do |cg|
cg.include 'signal.h'
unless BUILD_CONFIG[:windows]
unless BUILD_CONFIG[:windows] or RUBY_PLATFORM.match(/linux-musl$/)
cg.include 'sys/signal.h'
end

Expand Down
1 change: 1 addition & 0 deletions vm/util/logger.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <time.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <sys/file.h>

#include <zlib.h>

Expand Down

0 comments on commit 2920c9e

Please sign in to comment.