Changeset 09894ba3 for wscript


Ignore:
Timestamp:
May 30, 2017, 12:31:44 AM (7 years ago)
Author:
Martin Hermant <martin.hermant@gmail.com>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
Children:
e717fae
Parents:
40792b2
Message:

wscript : set memory-init file as a part of generated aubio js lib for easier integration in web

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wscript

    r40792b2 r09894ba3  
    248248        c_mangled_names = ['_'+s for s in exported_funcnames]
    249249        ctx.env.LINKFLAGS_cshlib += ['-s','EXPORTED_FUNCTIONS=%s'%c_mangled_names]
     250        # put memory file inside generated js files
     251        ctx.env.LINKFLAGS_cshlib+=['--memory-init-file','0']
    250252        ctx.env.cprogram_PATTERN = "%s.js"
    251253        if (ctx.options.enable_atlas != True):
Note: See TracChangeset for help on using the changeset viewer.