Skip to content

emsdk 6.0.0 and dynamic linking... #27104

@Honya2000

Description

@Honya2000

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions