- Timestamp:
- May 29, 2017, 4:28:00 PM (7 years ago)
- 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:
- 1539d4b
- Parents:
- 9452505
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
wscript
r9452505 rfc5e189 108 108 ctx.load('gnu_dirs') 109 109 110 target_platform = sys.platform 111 if ctx.options.target_platform: 112 target_platform = ctx.options.target_platform 113 114 115 if target_platform=='emscripten': 116 # need to force spaces between flag -o and path 117 # inspired from : 118 # https://github.com/waf-project/waf/blob/master/waflib/extras/c_emscripten.py (#1885) 119 # (OSX /emscripten 1.37.9) 120 ctx.env.CC_TGT_F = ['-c', '-o', ''] 121 ctx.env.CCLNK_TGT_F = ['-o', ''] 110 122 # check for common headers 111 123 ctx.check(header_name='stdlib.h') … … 118 130 ctx.check(header_name='unistd.h', mandatory = False) 119 131 120 target_platform = sys.platform121 if ctx.options.target_platform:122 target_platform = ctx.options.target_platform123 132 ctx.env['DEST_OS'] = target_platform 124 133
Note: See TracChangeset
for help on using the changeset viewer.