You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(shared_lib): force-load archive members into shared library
Passing libluos_engine.a directly to the linker produced a dylib/so
with zero symbols: a static archive is only searched for already-
referenced undefined symbols, and the output library starts empty so
no archive members are ever pulled in.
Use -Wl,--whole-archive / -Wl,--no-whole-archive on Linux and Windows
and -Wl,-force_load on macOS so every object in libluos_engine.a is
linked into the resulting shared library.
Ref: https://stackoverflow.com/questions/77983254/
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments