return an error code when no input files to emcc
This commit is contained in:
Родитель
979dfd60b5
Коммит
7646de8540
2
emcc
2
emcc
|
@ -851,7 +851,7 @@ try:
|
|||
|
||||
if len(input_files) == 0:
|
||||
logging.error('no input files\nnote that input files without a known suffix are ignored, make sure your input files end with one of: ' + str(SOURCE_ENDINGS + BITCODE_ENDINGS + DYNAMICLIB_ENDINGS + STATICLIB_ENDINGS + ASSEMBLY_ENDINGS + HEADER_ENDINGS))
|
||||
exit(0)
|
||||
exit(1)
|
||||
|
||||
newargs = CC_ADDITIONAL_ARGS + newargs
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче