Skip to content

Commit 2920c9e

Browse files
CpuIDYorick Peterse
authored and
Yorick Peterse
committedOct 4, 2015
Fixes to assist building Rubinius under Alpine Linux (with musl).
Not 100% building yet, but these cover some outstanding issues
1 parent 4eec62a commit 2920c9e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
 

‎rakelib/platform.rake

+1-1
Original file line numberDiff line numberDiff line change
@@ -752,7 +752,7 @@ file 'runtime/platform.conf' => deps do |task|
752752

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

‎vm/util/logger.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#include <time.h>
1111
#include <sys/param.h>
1212
#include <sys/stat.h>
13+
#include <sys/file.h>
1314

1415
#include <zlib.h>
1516

0 commit comments

Comments
 (0)
Please sign in to comment.