Skip to content

Commit

Permalink
crengine: change default symbol 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 anything (all accesses go through `libkoreader-cre.so`).
  • Loading branch information
benoit-pierre committed Oct 26, 2023
1 parent 55ced8f commit 9e5b9c2
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 @@ -125,3 +125,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 9e5b9c2

Please sign in to comment.