Closed
Description
liba.js
#include "libb.js"
libb.js
mergeInto(LibraryManager.library, {
printey: function() {
Module.print('Hello!');
}
});
Command line: emcc tests/hello_world.c --js-library liba.js -o a.html
Will fail with error
Error: ENOENT: no such file or directory, open 'C:\code\emsdk\emscripten\incoming\src\libb.js'
I wonder if it would be good idea to make #include "foo.js"
be treated with respect to the current file, and #include <foo.js>
with respect to $EMSCRIPTEN/src
?