ace2c5668e
Have constant link order to make builds reproducible. See https://reproducible-builds.org/ for why this is good. Without this patch g++ would order functions in libboost_container.so.1.64.0 depending on random order of files in the build system's filesystem.
22 lines
786 B
Plaintext
22 lines
786 B
Plaintext
# (C) Copyright Vladimir Prus, David Abrahams, Michael Stevens, Hartmut Kaiser,
|
|
# Ion Gaztanaga 2007-2008
|
|
# Use, modification and distribution are subject to the
|
|
# Boost Software License, Version 1.0. (See accompanying file
|
|
# LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
|
|
|
import sequence ;
|
|
|
|
project boost/container
|
|
: source-location ../src
|
|
: usage-requirements # pass these requirement to dependents (i.e. users)
|
|
<link>shared:<define>BOOST_CONTAINER_DYN_LINK=1
|
|
<link>static:<define>BOOST_CONTAINER_STATIC_LINK=1
|
|
;
|
|
|
|
lib boost_container
|
|
: alloc_lib.c [ sequence.insertion-sort [ glob *.cpp ] ]
|
|
: <link>shared:<define>BOOST_CONTAINER_DYN_LINK=1
|
|
<link>static:<define>BOOST_CONTAINER_STATIC_LINK=1
|
|
;
|
|
|
|
boost-install boost_container ; |