From 6e2877548b114729b69b817b872419edde732d0f Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sat, 27 Jan 2018 02:11:20 +0100 Subject: restore gcc visibility=hidden for apt-private MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This setting was lost in the transition to cmake. The private library has no public users and hence the default visibility of symbols changed early to hidden – something which should eventually be done for the public libraries as well, but one step at the time. --- apt-private/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'apt-private') diff --git a/apt-private/CMakeLists.txt b/apt-private/CMakeLists.txt index 5dda36c92..88a8f97fe 100644 --- a/apt-private/CMakeLists.txt +++ b/apt-private/CMakeLists.txt @@ -15,6 +15,7 @@ add_library(apt-private SHARED ${library}) target_link_libraries(apt-private PUBLIC apt-pkg) set_target_properties(apt-private PROPERTIES VERSION ${MAJOR}.${MINOR}) set_target_properties(apt-private PROPERTIES SOVERSION ${MAJOR}) +set_target_properties(apt-private PROPERTIES CXX_VISIBILITY_PRESET hidden) add_version_script(apt-private) # Install the library and the headers -- cgit v1.2.3