do not warn on missing builtin libs like GL; #2808

This commit is contained in:
Alon Zakai 2014-09-19 14:45:50 -07:00
Родитель 6d704c51b4
Коммит dd2167dc45
1 изменённых файлов: 2 добавлений и 1 удалений

3
emcc
Просмотреть файл

@ -816,7 +816,8 @@ try:
break
if found: break
if found: break
if not found: logging.warning('emcc: cannot find library "%s"', lib)
if not found and lib not in ['GL', 'GLU', 'glut']: # whitelist our default libraries
logging.warning('emcc: cannot find library "%s"', lib)
# If not compiling to JS, then we are compiling to an intermediate bitcode objects or library, so
# ignore dynamic linking, since multiple dynamic linkings can interfere with each other