File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
lib/ruby_wasm/build_system/product Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,8 @@ def define_task(crossruby)
25
25
make_args << "AR=#{ @toolchain . ar } "
26
26
make_args << "RANLIB=#{ @toolchain . ranlib } "
27
27
28
+ make_args << "DESTDIR=#{ crossruby . dest_dir } "
29
+
28
30
lib = @name
29
31
source = crossruby . source
30
32
objdir = product_build_dir crossruby
@@ -125,15 +127,6 @@ def define_task
125
127
cp_r "#{ dest_dir } -install" , dest_dir
126
128
ruby_api_version =
127
129
`#{ baseruby_path } -e 'print RbConfig::CONFIG["ruby_version"]'`
128
- # TODO: move copying logic to ext product
129
- @user_exts . each do |ext |
130
- ext_lib = File . join ( ext . srcdir , "lib" )
131
- next unless File . exist? ( ext_lib )
132
- cp_r (
133
- File . join ( ext_lib , "." ) ,
134
- File . join ( dest_dir , "usr/local/lib/ruby/#{ ruby_api_version } " )
135
- )
136
- end
137
130
sh "tar cfz #{ artifact } -C rubies #{ name } "
138
131
end
139
132
end
You can’t perform that action at this time.
0 commit comments