From: Martin Hermant Date: Mon, 29 May 2017 23:47:16 +0000 (-0400) Subject: sett —memory-init-file = 0 also for tests and examples to make them runnable with... X-Git-Tag: 0.4.6~52^2~6 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=6e5c03aa1b8be49f9521ce000f0b7e475878786e;p=aubio.git sett —memory-init-file = 0 also for tests and examples to make them runnable with node --- diff --git a/wscript b/wscript index 18905e61..00904917 100644 --- a/wscript +++ b/wscript @@ -248,7 +248,7 @@ def configure(ctx): 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.LINKFLAGS+=['--memory-init-file','0'] ctx.env.cprogram_PATTERN = "%s.js" ctx.env.cstlib_PATTERN = '%s.a' if (ctx.options.enable_atlas != True):