Skip to content
Permalink
Browse files

depends: fix monero binaries Boost linking errors

It would try to link against host system Boost libs when building outside gitian. Tested with x86_64-linux-gnu target.
  • Loading branch information...
iDunk5400 committed Sep 7, 2019
1 parent 1b93cb7 commit e09dbc6089e8624bbee9cc394022d563878c9de1
Showing with 6 additions and 6 deletions.
  1. +6 −6 contrib/depends/toolchain.cmake.in
@@ -40,14 +40,14 @@ SET(Protobuf_LIBRARY @prefix@/lib/libprotobuf.a CACHE FILEPATH "Protobuf library
SET(ZMQ_INCLUDE_PATH @prefix@/include)
SET(ZMQ_LIB @prefix@/lib/libzmq.a)

SET(BOOST_IGNORE_SYSTEM_PATHS_DEFAULT ON)
SET(BOOST_IGNORE_SYSTEM_PATH ON)
SET(Boost_IGNORE_SYSTEM_PATH ON)
SET(BOOST_ROOT @prefix@)
SET(BOOST_INCLUDEDIR @prefix@/include)
SET(BOOST_LIBRARYDIR @prefix@/lib)
SET(BOOST_IGNORE_SYSTEM_PATHS_DEFAULT OFF)
SET(BOOST_NO_SYSTEM_PATHS TRUE)
SET(BOOST_USE_STATIC_LIBS TRUE)
SET(BOOST_USE_STATIC_RUNTIME TRUE)
SET(Boost_IGNORE_SYSTEM_PATHS_DEFAULT OFF)
SET(Boost_NO_SYSTEM_PATHS ON)
SET(Boost_USE_STATIC_LIBS ON)
SET(Boost_USE_STATIC_RUNTIME ON)

SET(OpenSSL_DIR @prefix@/lib)
SET(ARCHITECTURE @arch@)

0 comments on commit e09dbc6

Please sign in to comment.
You can’t perform that action at this time.