File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -511,6 +511,21 @@ node --version
511
511
sed -i " /^Libs:/ s/$/${modules// \/ / \\ / } /" $TARGET /lib/pkgconfig/vips.pc
512
512
)
513
513
514
+ patch -p1 -d $EMSDK /upstream/emscripten << 'EOF '
515
+ --- a/src/lib/libpthread.js
516
+ +++ b/src/lib/libpthread.js
517
+ @@ -48,6 +48,7 @@ const pthreadWorkerOptions = `{
518
+ // This is the way that we signal to the node worker that it is hosting
519
+ // a pthread.
520
+ 'workerData': 'em-pthread',
521
+ + 'trackUnmanagedFds': false,
522
+ #endif
523
+ #if ENVIRONMENT_MAY_BE_WEB || ENVIRONMENT_MAY_BE_WORKER
524
+ // This is the way that we signal to the Web Worker that it is hosting
525
+ EOF
526
+ emcc --clear-cache
527
+ embuilder build sysroot --force
528
+
514
529
[ -n " $DISABLE_BINDINGS " ] || (
515
530
stage " Compiling JS bindings"
516
531
mkdir $DEPS /wasm-vips
You can’t perform that action at this time.
0 commit comments