From 752b01cbbae4f58b00a331756e83ad63eed0d24f Mon Sep 17 00:00:00 2001 From: Harald Sitter Date: Sun, 10 Mar 2024 01:33:52 +0100 Subject: [PATCH] on Qt6 we need to build with position independent code otherwise linking may fail with > copy relocation against non-copyable protected symbol `qt_resourceFeatureZstd@@Qt_6' --- lang/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/lang/CMakeLists.txt b/lang/CMakeLists.txt index dd2a47b04..efd3182f3 100644 --- a/lang/CMakeLists.txt +++ b/lang/CMakeLists.txt @@ -36,3 +36,4 @@ calamares_qrc_translations(calamares-i18n ) add_library(calamares-i18n OBJECT ${translation_outfile}) +set_property(TARGET calamares-i18n PROPERTY POSITION_INDEPENDENT_CODE ON)