* Make common lib static. It is built as a shared library by default but doesn't get installed which results in a broken executables. * Fix linking issues due to relocations in core_obj. * cli programs fails to link. Disable them for now. --- a/CMakeLists.txt 2025-06-23 18:39:56.200000000 +0300 +++ b/CMakeLists.txt 2025-06-23 18:42:08.060000000 +0300 @@ -12,7 +12,8 @@ add_library(core_obj OBJECT version.c ${platform_common_sources}) add_library(core $) -add_library(common $ hat.c spectre.c) +add_library(common STATIC $ hat.c spectre.c) +set_property(TARGET core_obj PROPERTY POSITION_INDEPENDENT_CODE ON) cliprogram(polygon-test draw-poly.c SDL2_LIB COMPILE_DEFINITIONS STANDALONE_POLYGON) --- a/cmake/setup.cmake 2025-06-23 18:27:11.510000000 +0300 +++ b/cmake/setup.cmake 2025-06-23 18:33:07.400000000 +0300 @@ -3,7 +3,7 @@ set(PUZZLES_ENABLE_UNFINISHED "" to build as if official (separated by ';')") set(build_individual_puzzles TRUE) -set(build_cli_programs TRUE) +set(build_cli_programs FALSE) set(build_gui_programs TRUE) set(build_icons FALSE) set(need_c_icons FALSE)