Allow proper compilation with --enable-shared
- Sep 24, 2023
-
-
This makes sure the shared modules are built with .wasm extension instead of .so. However libvlc and libvlccore are still built with .so extension.
a7ede0f0 -
cc39c96e
-
To dynamically link rust objects, they need to be compiled with atomics or bulk memory feature.
46bfe998 -
c1da3d2b
-
Some libraries in emscripten for C++ are not compiled with fPIC. Do not link them when building cpp modules.
f9af617f -
a40c987a
-
ffmpeg libraries ie. avcodec, avformat, swscale and postproc were disabled for emscripten shared compilation as ffmpeg was not built with position independent code. Enable pic for ffmpeg, and ultimately enable those libraries shared compilation.
30503ba4 -
Emscripten needs symbols to be exported with -s EXPORTED_FUNCTIONS in case of building with -s SIDE_MODULE=2, otherwise the functions are not "visible" from other modules or removed as optimization. This patch will implement exported functions on libtool for emscripten.
c36ab16c
-