fix non-linking of C libs in side modules

This commit is contained in:
Alon Zakai 2013-06-29 12:11:02 -07:00
Родитель fd7ca56909
Коммит 5e360b75ff
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -1152,7 +1152,7 @@ try:
if not LEAVE_INPUTS_RAW and not AUTODEBUG and \
not shared.Settings.BUILD_AS_SHARED_LIB == 2 and \
not shared.Settings.SIDE_MODULE == 2: # shared libraries/side modules link no C libraries, need them in parent
not shared.Settings.SIDE_MODULE: # shared libraries/side modules link no C libraries, need them in parent
# Check if we need to include some libraries that we compile. (We implement libc ourselves in js, but
# compile a malloc implementation and stdlibc++.)