We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c847e77 commit 424fda6Copy full SHA for 424fda6
Rakefile
@@ -13,7 +13,7 @@ BUILD_SOURCES = {
13
type: "github",
14
repo: "ruby/ruby",
15
rev: "master",
16
- patches: []
+ patches: Dir["./patches/*.patch"].map{|p| File.expand_path(p) }
17
}
18
19
lib/ruby_wasm/build_system/product/ruby_source.rb
@@ -34,6 +34,9 @@ def fetch
34
else
35
raise "unknown source type: #{@params[:type]}"
36
end
37
+ (@params[:patches] || []).each do |patch_path|
38
+ system "patch -p1 < #{patch_path}", chdir: src_dir
39
+ end
40
41
42
def build
0 commit comments