fix os x build
BlockStorage/repertory_mac/pipeline/head There was a failure building this commit

This commit is contained in:
sgraves committed 2026-11-23 19:42:51 -06:00
1 parent a209573086
commit ca52d5fda9
1 file changed
+9 -3
+9 -3
View File
@@ -16,9 +16,15 @@ if(PROJECT_ENABLE_ROCKSDB)
set(ROCKSDB_ZLIB_LIBRARY ${ZLIB_LIBRARIES})
endif()
link_libraries(
"-Wl,--start-group,${ROCKSDB_LIBRARY},${ROCKSDB_ZLIB_LIBRARY},--end-group"
)
if(PROJECT_IS_DARWIN)
# Apple ld does not support --start-group/--end-group; it resolves
# static archive symbols regardless of order.
link_libraries(${ROCKSDB_LIBRARY} ${ROCKSDB_ZLIB_LIBRARY})
else()
link_libraries(
"-Wl,--start-group,${ROCKSDB_LIBRARY},${ROCKSDB_ZLIB_LIBRARY},--end-group"
)
endif()
elseif(NOT PROJECT_IS_MINGW OR CMAKE_HOST_WIN32)
ExternalProject_Add(rocksdb_project
PREFIX external