emscripten-core / emscripten-core/emscripten

emsdk 6.0.0 and dynamic linking...

Open
#27,104 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

Hello,

Today i upgraded my project to new emsdk 6.0.0 and it suddenly stopped compiling.
Problem is - it tries to link to dynamic .so libs which aren't exist.

I guess it compiled on previous emsdk because it automatically fixed dyn libs inplace during compilation and replace it to static building / linking. Now it doesn't try to fix and fails.

My project is quite big, consists of over five hundred dependencies, some dependencies are downloaded from github automatically during cmake ninja generation. So it is very hard to find exact places where dynamic linking is requested (somewhere in third party projects).

My question is - is there some emcc compiler switch to avoid dynamic libs building / linking (replace to static) ? I tried to search in google, but didn't find anything.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.