Fix undefined symbol error when loading shared lib (#3193)

This commit is contained in:
Gyeongjae Choi 2022-10-21 10:04:57 +09:00 committed by GitHub
parent 00d0f347c8
commit 393988f601
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -92,6 +92,9 @@ substitutions:
a new option `checkIntegrity`. If set to False, integrity check for Python Packages
will be disabled.
- {{ Fix }} Fix undefined symbol error when loading shared library
{pr}`3193`
- {{ Fix }} Shared libraries with version suffix are now handled correctly.
{pr}`3154`

View File

@ -415,6 +415,7 @@ async function loadDynlib(lib: string, shared: boolean) {
nodelete: true,
global: loadGlobally,
fs: libraryFS,
allowUndefined: true,
});
} catch (e: any) {
if (e && e.message && e.message.includes("need to see wasm magic number")) {