Browse Source

add noexit to emscripten

pull/8312/head
HoofedEar 4 months ago
parent
commit
24ee55a01f
  1. 2
      CMake/platforms/emscripten.cmake

2
CMake/platforms/emscripten.cmake

@ -4,7 +4,7 @@ set(DISABLE_ZERO_TIER ON)
set(DEVILUTIONX_SYSTEM_SDL_AUDIOLIB OFF)
set(DEVILUTIONX_SYSTEM_LIBSODIUM OFF)
set(DEVILUTIONX_SYSTEM_LIBFMT OFF)
set(NOEXIT ON)
# Emscripten ports do have a bzip2 but it fails to link with this error:
# warning: _BZ2_bzDecompress may need to be added to EXPORTED_FUNCTIONS if it arrives from a system library
# error: undefined symbol: BZ2_bzDecompressEnd (referenced by top-level compiled C/C++ code)

Loading…
Cancel
Save