Skip to content

Commit

Permalink
Fix Linux build when using blst's main. Discovered by Earle. (#415)
Browse files Browse the repository at this point in the history
  • Loading branch information
AmineKhaldi committed Jun 21, 2023
1 parent da41a92 commit 377ad17
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python-bindings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,7 @@ FetchContent_MakeAvailable(pybind11)

pybind11_add_module(blspy ${CMAKE_CURRENT_SOURCE_DIR}/pythonbindings.cpp)
target_link_libraries(blspy PRIVATE bls)

if((NOT MSVC) AND (NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin"))
target_link_options(blspy PRIVATE -Wl,-Bsymbolic)
endif()

0 comments on commit 377ad17

Please sign in to comment.