mirror of https://github.com/pyodide/pyodide.git
Fix paths in patch
This commit is contained in:
parent
bb85d2c26b
commit
0926d2522b
|
@ -1,7 +1,7 @@
|
|||
diff --git a/src/library.js b/src/library.js
|
||||
index 5fc87ab16..82ebcfd61 100644
|
||||
--- a/src/library.js
|
||||
+++ b/src/library.js
|
||||
--- a/emsdk/emscripten/tag-1.38.4/src/library.js
|
||||
+++ b/emsdk/emscripten/tag-1.38.4/src/library.js
|
||||
@@ -1755,9 +1755,14 @@ LibraryManager.library = {
|
||||
return handle;
|
||||
}
|
||||
|
@ -39,10 +39,10 @@ index 5fc87ab16..82ebcfd61 100644
|
|||
}
|
||||
}
|
||||
-
|
||||
diff --git a/src/library_browser.js b/src/library_browser.js
|
||||
diff --git emsdk/emscripten/tag-1.38.4/src/library_browser.js emsdk/emscripten/tag-1.38.4/src/library_browser.js
|
||||
index 36738391e..e2ac2763e 100644
|
||||
--- a/src/library_browser.js
|
||||
+++ b/src/library_browser.js
|
||||
--- a/emsdk/emscripten/tag-1.38.4/src/library_browser.js
|
||||
+++ b/emsdk/emscripten/tag-1.38.4/src/library_browser.js
|
||||
@@ -225,6 +225,35 @@ var LibraryBrowser = {
|
||||
};
|
||||
Module['preloadPlugins'].push(audioPlugin);
|
||||
|
@ -84,10 +84,10 @@ index 36738391e..e2ac2763e 100644
|
|||
|
||||
*/
|
||||
-
|
||||
diff --git a/src/preamble.js b/src/preamble.js
|
||||
diff --git emsdk/emscripten/tag-1.38.4/src/preamble.js emsdk/emscripten/tag-1.38.4/src/preamble.js
|
||||
index a757e8300..c7b1f596f 100644
|
||||
--- a/src/preamble.js
|
||||
+++ b/src/preamble.js
|
||||
--- a/emsdk/emscripten/tag-1.38.4/src/preamble.js
|
||||
+++ b/emsdk/emscripten/tag-1.38.4/src/preamble.js
|
||||
@@ -1822,6 +1822,11 @@ function removeRunDependency(id) {
|
||||
|
||||
Module["preloadedImages"] = {}; // maps url to image data
|
||||
|
@ -100,10 +100,10 @@ index a757e8300..c7b1f596f 100644
|
|||
|
||||
#if PGO
|
||||
var PGOMonitor = {
|
||||
diff --git a/src/support.js b/src/support.js
|
||||
diff --git emsdk/emscripten/tag-1.38.4/src/support.js emsdk/emscripten/tag-1.38.4/src/support.js
|
||||
index f6c9842ff..99367db70 100644
|
||||
--- a/src/support.js
|
||||
+++ b/src/support.js
|
||||
--- a/emsdk/emscripten/tag-1.38.4/src/support.js
|
||||
+++ b/emsdk/emscripten/tag-1.38.4/src/support.js
|
||||
@@ -86,7 +86,7 @@ function loadDynamicLibrary(lib) {
|
||||
|
||||
#if WASM
|
||||
|
@ -152,10 +152,10 @@ index f6c9842ff..99367db70 100644
|
|||
#endif // WASM
|
||||
#endif // RELOCATABLE
|
||||
|
||||
diff --git a/tests/test_browser.py b/tests/test_browser.py
|
||||
diff --git emsdk/emscripten/tag-1.38.4/tests/test_browser.py emsdk/emscripten/tag-1.38.4/tests/test_browser.py
|
||||
index d5f49d04e..c85367f72 100644
|
||||
--- a/tests/test_browser.py
|
||||
+++ b/tests/test_browser.py
|
||||
--- a/emsdk/emscripten/tag-1.38.4/tests/test_browser.py
|
||||
+++ b/emsdk/emscripten/tag-1.38.4/tests/test_browser.py
|
||||
@@ -2273,6 +2273,43 @@ void *getBindBuffer() {
|
||||
Popen([PYTHON, EMCC, path_from_root('tests', 'browser_module.cpp'), '-o', 'module.js', '-O2', '-s', 'SIDE_MODULE=1', '-s', 'DLOPEN_SUPPORT=1', '-s', 'EXPORTED_FUNCTIONS=["_one", "_two"]']).communicate()
|
||||
self.btest('browser_main.cpp', args=['-O2', '-s', 'MAIN_MODULE=1', '-s', 'DLOPEN_SUPPORT=1'], expected='8')
|
||||
|
|
Loading…
Reference in New Issue