This adds a way to pass arguments to the b2 build tool, used by Boost. This is needed in order to link a getdeps built boost into an relocatable .so. The motivating use case is that we need to statically link Boost into a native library used by a python wheel, which must be relocatable. This functionality already exists for CMake-based projects.
Summary: X-link: https://github.com/facebook/fboss/pull/115
X-link: https://github.com/facebook/folly/pull/1736
X-link: https://github.com/facebook/proxygen/pull/403
X-link: https://github.com/facebook/fbthrift/pull/488
This adds a way to pass arguments to the
b2
build tool, used by Boost. This is needed in order to link a getdeps built boost into an relocatable.so
. The motivating use case is that we need to statically link Boost into a native library used by a python wheel, which must be relocatable. This functionality already exists for CMake-based projects.Reviewed By: mackorone
Differential Revision: D34796774