Browse Source

restore gcc visibility=hidden for apt-private

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.
tags/debian/1.6_beta1
David Kalnischkies 3 years ago
parent
commit
6e2877548b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      apt-private/CMakeLists.txt

+ 1
- 0
apt-private/CMakeLists.txt View File

@@ -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


Loading…
Cancel
Save