Commits on Source (8)
-
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 -
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 -
a40c987a
-
Some libraries in emscripten for C++ are not compiled with fPIC. Do not link them when building cpp modules.
f9af617f -
c1da3d2b
-
To dynamically link rust objects, they need to be compiled with atomics or bulk memory feature.
46bfe998 -
cc39c96e
-
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
Showing
- bin/Makefile.am 3 additions, 0 deletionsbin/Makefile.am
- contrib/src/ffmpeg/rules.mak 1 addition, 1 deletioncontrib/src/ffmpeg/rules.mak
- contrib/src/main-rust.mak 4 additions, 0 deletionscontrib/src/main-rust.mak
- contrib/src/main.mak 5 additions, 0 deletionscontrib/src/main.mak
- extras/package/wasm-emscripten/build.sh 9 additions, 4 deletionsextras/package/wasm-emscripten/build.sh
- extras/tools/libtool-2.4.7-emscripten-dlinker.patch 2 additions, 2 deletionsextras/tools/libtool-2.4.7-emscripten-dlinker.patch
- m4/vlc.m4 3 additions, 0 deletionsm4/vlc.m4
- test/Makefile.am 5 additions, 0 deletionstest/Makefile.am