Skip to content

Commit

Permalink
fix(c++): fix the 'multiple definition' bug when linking libarrow.a a…
Browse files Browse the repository at this point in the history
…nd libgraphar_bundled_dependencies.a in one CMakeLists.txt
  • Loading branch information
Elssky committed Nov 8, 2024
1 parent 63fc149 commit 3f522a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -351,8 +351,8 @@ macro(build_graphar_with_arrow_bundled)
"-framework CoreFoundation"
"-framework Security")
else()
target_link_libraries(graphar PRIVATE -Wl,--exclude-libs,ALL -Wl,--whole-archive
graphar_bundled_dependencies -Wl,--no-whole-archive)
target_link_libraries(graphar PRIVATE -Wl,--exclude-libs,ALL
graphar_bundled_dependencies)
endif()

# if OpenSSL library exists, link the OpenSSL library.
Expand Down

0 comments on commit 3f522a7

Please sign in to comment.