Skip to content

Commit aa276fc

Browse files
committed
1 parent 55b5dda commit aa276fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/libraw.wasm/scripts/build.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,9 @@ async function main() {
167167
all: lib/libraw.wasm
168168
${patchedMakefile}
169169
lib/libraw.wasm: \${LIB_OBJECTS}
170-
$\{CC} -Os -o lib/libraw.mjs -s MODULARIZE=1 -s 'EXPORTED_FUNCTIONS=${JSON.stringify(
170+
$\{CC} -Os -o lib/libraw.mjs -s MODULARIZE=1 -s EXPORTED_RUNTIME_METHODS=HEAPU8 -s ALLOW_MEMORY_GROWTH=1 -s 'EXPORTED_FUNCTIONS=${JSON.stringify(
171171
exportFunctions,
172-
)}' -s ALLOW_MEMORY_GROWTH=1 \${LIB_OBJECTS}
172+
)}' \${LIB_OBJECTS}
173173
`;
174174

175175
await fs.writeFile(path.join(cwd, "LibRaw/Makefile"), makefile);

0 commit comments

Comments
 (0)