Skip to content

Commit

Permalink
crengine: change default symbols visibility
Browse files Browse the repository at this point in the history
Set it to `inlineshidden`, since we compile a static library and don't
need to export symbols (all accesses go through `libkoreader-cre.so`).
  • Loading branch information
benoit-pierre committed Oct 24, 2023
1 parent 1a5c05c commit 3c62d2c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions thirdparty/kpvcrlib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,4 @@ set (CRENGINE_SOURCES
add_library(crengine STATIC ${CRENGINE_SOURCES})
# Make sure we get full `constexpr` support.
target_compile_features(crengine PRIVATE cxx_std_17)
set_target_properties(crengine PROPERTIES VISIBILITY_INLINES_HIDDEN TRUE)

0 comments on commit 3c62d2c

Please sign in to comment.