Skip to content

Commit 14ab3d0

Browse files
distinguish build_dir for product tasks
1 parent 21500ac commit 14ab3d0

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lib/ruby_wasm/build_system/product/libyaml.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ def install_root
2626
end
2727

2828
def name
29-
"libyaml-#{target}"
29+
product_build_dir
3030
end
3131

3232
def define_task
33-
desc "build libyaml #{LIBYAML_VERSION} for #{target}"
3433
@install_task =
3534
task(name) do
3635
next if Dir.exist?(install_root)

lib/ruby_wasm/build_system/product/zlib.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ def install_root
2626
end
2727

2828
def name
29-
"zlib-#{target}"
29+
product_build_dir
3030
end
3131

3232
def define_task
33-
desc "build zlib #{ZLIB_VERSION} for #{target}"
3433
@install_task =
3534
task(name) do
3635
next if Dir.exist?(install_root)

0 commit comments

Comments
 (0)