Skip to content

Commit 00a78ee

Browse files
committed
chore: try out emscripten EXPORT_ES6 option
1 parent f30df5f commit 00a78ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
RM=rm -f
22
CFLAGS=-I./dist/include -I./dist/include/libxml2
3-
LDFLAGS=-O2 -fwasm-exceptions -s USE_ZLIB=1 -s USE_FREETYPE=1 -s USE_LIBPNG=1 -s USE_LIBJPEG=1 -s ENVIRONMENT='worker' -s MODULARIZE=1 -s ALLOW_MEMORY_GROWTH=1 -s 'EXPORTED_RUNTIME_METHODS=["cwrap", "FS"]' -s ERROR_ON_UNDEFINED_SYMBOLS=0
3+
LDFLAGS=-O2 -fwasm-exceptions -s USE_ZLIB=1 -s USE_FREETYPE=1 -s USE_LIBPNG=1 -s USE_LIBJPEG=1 -s ENVIRONMENT='worker' -s EXPORT_ES6=1 -s ALLOW_MEMORY_GROWTH=1 -s 'EXPORTED_RUNTIME_METHODS=["cwrap", "FS"]' -s ERROR_ON_UNDEFINED_SYMBOLS=0
44
LDLIBS=-lmapserver -lxml2 -lproj -lgdal -lsqlite3 -lgeos -lgeos_c -L./dist/lib
55

66
SRCS=src/bindings.c

0 commit comments

Comments
 (0)