Skip to content

Commit

Permalink
set thirdparty libraries symbol visibility (#544)
Browse files Browse the repository at this point in the history
Hide everything since antiword and chmlib are compiled and linked
statically and none of their symbols are exported by the main library.
  • Loading branch information
benoit-pierre authored Oct 26, 2023
1 parent fe2a811 commit 2312401
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions thirdparty/antiword/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,4 @@ endif(WIN32)

ADD_LIBRARY(antiword STATIC ${ANTIWORD_SOURCES})

set_target_properties(antiword PROPERTIES C_VISIBILITY_PRESET hidden)
1 change: 1 addition & 0 deletions thirdparty/chmlib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ SET (CHMLIB_SOURCES

ADD_LIBRARY(chmlib STATIC ${CHMLIB_SOURCES})

set_target_properties(chmlib PROPERTIES C_VISIBILITY_PRESET hidden)

0 comments on commit 2312401

Please sign in to comment.