3
0
Fork 0
forked from mirrors/nixpkgs

ruby: make removeReferencesToCC remove all cc refs

`lib/ruby/${version}/<platform>/rbconfig.rb` records the compiler used
for JIT.
This commit is contained in:
Doron Behar 2020-06-07 10:19:16 +03:00
parent 2da5872b72
commit 0ab3c6b7d0

View file

@ -157,6 +157,9 @@ let
${removeReferencesTo}/bin/remove-references-to \
-t ${stdenv.cc} \
$out/lib/libruby*
${removeReferencesTo}/bin/remove-references-to \
-t ${stdenv.cc} \
$out/lib/ruby/${version}/${stdenv.targetPlatform.system}/rbconfig.rb
''
}
# Bundler tries to create this directory