Skip to content

Commit

Permalink
build: Remove unnecessary DESTDIR from make_args
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
kateinoigakukun committed Feb 18, 2024
1 parent 250b2d9 commit fb7404b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/ruby_wasm/build/product/crossruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ def make_args(crossruby)
make_args << "AR=#{@toolchain.ar}"
make_args << "RANLIB=#{@toolchain.ranlib}"

make_args << "DESTDIR=#{crossruby.dest_dir}"
make_args
end

Expand Down

0 comments on commit fb7404b

Please sign in to comment.