This repository has been archived by the owner on Jun 13, 2024. It is now read-only.
Alien and static libraries #82
Unanswered
cedricchevalier19
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently multi-representation needs back-ends to register themself. This is done in the constructor of a static object. This object is not referenced anywhere in Alien's code, so static linking can work only using
--whole-archive
.It should work with shared libraries, however on ubuntu, one may need to add this option
CMAKE_EXE_LINKER_FLAGS="-Wl,--no-as-needed"
to avoid dismissing non referenced libraries.Beta Was this translation helpful? Give feedback.
All reactions