Skip to content

Commit fb7404b

Browse files
build: Remove unnecessary DESTDIR from make_args
DESTDIR will not be used in both static and dynamic build because: * In static build, nothing will be installed. * In dynamic build, rbconfig.rb is explicitly told to mkmf and `RbConfig::CONFIG['prefix']` points to the directory prefixed by DESTDIR (usually derived from the location of rbconfig.rb itself).
1 parent 250b2d9 commit fb7404b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/ruby_wasm/build/product/crossruby.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ def make_args(crossruby)
3737
make_args << "AR=#{@toolchain.ar}"
3838
make_args << "RANLIB=#{@toolchain.ranlib}"
3939

40-
make_args << "DESTDIR=#{crossruby.dest_dir}"
4140
make_args
4241
end
4342

0 commit comments

Comments
 (0)