Closed hoodmane closed 1 week ago
Actually the one call site of readlink in the Emscripten source code doesn't seem to expect this behavior since it immediately calls resolve
:
https://github.com/emscripten-core/emscripten/blob/main/src/library_fs.js?plain=1#L217-L218
Considering the following:
Running with
gcc
we just the contents of the link vs running withemcc
we get a fully qualified path:Note the initial
/
in the emcc run.