File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ var LibraryManager = {
147
147
148
148
// If there are any explicitly specified system JS libraries to link to, add those to link.
149
149
if ( SYSTEM_JS_LIBRARIES ) {
150
- libraries = libraries . concat ( SYSTEM_JS_LIBRARIES ) ;
150
+ libraries = libraries . concat ( SYSTEM_JS_LIBRARIES . split ( ',' ) ) ;
151
151
}
152
152
153
153
libraries = libraries . concat ( additionalLibraries ) ;
Original file line number Diff line number Diff line change @@ -2028,7 +2028,7 @@ def path_to_system_js_libraries_for_settings(link_settings):
2028
2028
if 'LZ4=1' in link_settings : system_js_libraries += ['library_lz4.js' ]
2029
2029
if 'USE_SDL=1' in link_settings : system_js_libraries += ['library_sdl.js' ]
2030
2030
if 'USE_SDL=2' in link_settings : system_js_libraries += ['library_egl.js' , 'library_glut.js' , 'library_gl.js' ]
2031
- return system_js_libraries
2031
+ return map ( lambda x : path_from_root ( 'src' , x ), system_js_libraries )
2032
2032
2033
2033
# compatibility with existing emcc, etc. scripts
2034
2034
Cache = cache .Cache (debug = DEBUG_CACHE )
You can’t perform that action at this time.
0 commit comments