summaryrefslogtreecommitdiffstats
path: root/src/modules/ident/libkviident.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2026-01-23 20:46:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2026-01-25 19:13:24 +0900
commit6967441ff784e2bc6a16de1edb2386f993a4c3af (patch)
tree473dd213695f9167099a7576ef621f39d63d8486 /src/modules/ident/libkviident.cpp
parent983b1ee74e17afe381a3cfbbac7756fdcb2a9bdc (diff)
downloadkvirc-feat/separate-kvirc-lib.tar.gz
kvirc-feat/separate-kvirc-lib.zip
Split kvirc executable into a shared library (libkvirc) and a stub executable (kvirc).feat/separate-kvirc-lib
Autotool builds kvirc with '-export-dynamic', which exports all global symbols from the main executable to the dynamic symbol table. This allows 'modules' to access those symbols and build successfully. CMake build kvirc without '-export-dynamic' and with hidden symbol visibitily by default, resulting in FTBFS when the build process reaches the 'modules' part. This is caused by the modules referring to symbols define in code under the 'src/kvirc' folder Splitting 'kvirc' into an additional 'libkvirc' shared library plus a simple executable stub that creates the application and run it, allows modules to be linked against the library part and build successfully also with cmake. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/modules/ident/libkviident.cpp')
0 files changed, 0 insertions, 0 deletions