users: repair build on openSUSE Qt6
Build failure looks like /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: src/modules/users/CMakeFiles/users_internal.dir/users_internal_autogen/mocs_compilation.cpp.o: relocation R_X86_64_32 against symbol `_ZN6Config16staticMetaObjectE' can not be used when making a shared object; recompile with -fPIC /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: failed to set dynamic section sizes: bad value This was the original reason for starting to change the library type.
This commit is contained in:
parent
fb9b20e234
commit
309fa9718e
@ -57,7 +57,8 @@ target_link_libraries(users_internal
|
||||
${qtname}::Gui
|
||||
${qtname}::Widgets
|
||||
)
|
||||
set_target_properties(users_internal PROPERTIES COMPILE_DEFINITIONS PLUGINDLLEXPORT_PRO)
|
||||
target_compile_definitions(users_internal PUBLIC PLUGINDLLEXPORT_PRO)
|
||||
target_compile_options(users_internal PUBLIC -fPIC)
|
||||
calamares_automoc(users_internal)
|
||||
|
||||
calamares_add_plugin(users
|
||||
|
Loading…
Reference in New Issue
Block a user