From 09894ba3e04df4dbd74a5b73fd2732684206cc9c Mon Sep 17 00:00:00 2001 From: Martin Hermant Date: Mon, 29 May 2017 18:31:44 -0400 Subject: [PATCH] wscript : set memory-init file as a part of generated aubio js lib for easier integration in web --- wscript | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wscript b/wscript index 2952cbf2..a0b7b364 100644 --- a/wscript +++ b/wscript @@ -247,6 +247,8 @@ def configure(ctx): exported_funcnames = get_all_func_names_from_lib(lib) c_mangled_names = ['_'+s for s in exported_funcnames] ctx.env.LINKFLAGS_cshlib += ['-s','EXPORTED_FUNCTIONS=%s'%c_mangled_names] + # put memory file inside generated js files + ctx.env.LINKFLAGS_cshlib+=['--memory-init-file','0'] ctx.env.cprogram_PATTERN = "%s.js" if (ctx.options.enable_atlas != True): ctx.options.enable_atlas = False -- 2.11.0