diff --git a/interpreters/toywasm/Makefile b/interpreters/toywasm/Makefile index d6278e268..7aa657d77 100644 --- a/interpreters/toywasm/Makefile +++ b/interpreters/toywasm/Makefile @@ -78,12 +78,15 @@ CSRCS += wasi_threads.c CSRCS += dyld.c CSRCS += dyld_plt.c +# TOYWASM_ENABLE_DYLD_DLFCN +CSRCS += dyld_dlfcn.c + CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/interpreters/toywasm/include CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/interpreters/toywasm/toywasm/lib CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/interpreters/toywasm/toywasm/libwasi CFLAGS += ${INCDIR_PREFIX}$(APPDIR)/interpreters/toywasm/toywasm/libdyld -TOYWASM_VERSION = 12b9e518cd18c9fee09a521afa96eb15cd11edac +TOYWASM_VERSION = bfcc5be6eb25c9581c6c3b443ac38c1a814f8e18 TOYWASM_UNPACK = toywasm TOYWASM_TARBALL = $(TOYWASM_VERSION).zip TOYWASM_URL_BASE = https://github.com/yamt/toywasm/archive/ diff --git a/interpreters/toywasm/regen.sh b/interpreters/toywasm/regen.sh index 7789d169f..2f0e02f42 100755 --- a/interpreters/toywasm/regen.sh +++ b/interpreters/toywasm/regen.sh @@ -26,6 +26,7 @@ cmake -B ${BUILDDIR} \ -DTOYWASM_ENABLE_WASM_THREADS=ON \ -DTOYWASM_ENABLE_WASI_THREADS=ON \ -DTOYWASM_ENABLE_DYLD=ON \ +-DTOYWASM_ENABLE_DYLD_DLFCN=ON \ ${DIR} for fn in \