[libcalamares] Default symbols to hidden

This restores the purpose of DLLEXPORT and helps keep the ABI
small-and-stable.
This commit is contained in:
Adriaan de Groot 2024-02-19 00:42:00 +01:00
parent 54250887e1
commit 84b0262f31

View File

@ -102,6 +102,7 @@ set_target_properties(
PROPERTIES
VERSION ${CALAMARES_VERSION_SHORT}
SOVERSION ${CALAMARES_SOVERSION}
CXX_VISIBILITY_PRESET hidden
)
target_link_libraries(calamares LINK_PUBLIC yamlcpp::yamlcpp ${qtname}::Core ${qtname}::Network)
target_link_libraries(calamares LINK_PUBLIC ${kfname}::CoreAddons)