wasilibc: use .imports file for lld

instead of passing in the --allow-undefined-file, we can just let lld
find the file.
This commit is contained in:
Matthew Bauer
2019-04-17 19:49:12 -04:00
parent a4cfd50004
commit 6948ffd398
2 changed files with 1 additions and 2 deletions

View File

@@ -17,6 +17,7 @@ stdenv.mkDerivation {
postInstall = ''
mv $out/lib/*/* $out/lib
ln -s $out/share/wasm32-wasi/undefined-symbols.txt $out/lib/wasi.imports
'';
meta = {