Skip to content

Commit 7e9f00b

Browse files
committed
kernel: Allowing reducing exports
Now that an API has been defined, remove the override for symbol visibility of the library. It is now possible to build the library with reduced exports.
1 parent 7990463 commit 7e9f00b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/kernel/CMakeLists.txt

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,6 @@ target_link_libraries(bitcoinkernel
9696

9797
target_include_directories(bitcoinkernel PRIVATE $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/src/leveldb/include>)
9898

99-
# libbitcoinkernel requires default symbol visibility, explicitly
100-
# specify that here so that things still work even when user
101-
# configures with -DREDUCE_EXPORTS=ON
102-
#
103-
# Note this is a quick hack that will be removed as we
104-
# incrementally define what to export from the library.
105-
set_target_properties(bitcoinkernel PROPERTIES
106-
CXX_VISIBILITY_PRESET default
107-
)
108-
10999
# Add a convenience libbitcoinkernel target as a synonym for bitcoinkernel.
110100
add_custom_target(libbitcoinkernel)
111101
add_dependencies(libbitcoinkernel bitcoinkernel)

0 commit comments

Comments
 (0)