Files
macports-ports/devel/boost171/files/patch-tools-build-src-tools-python-2.jam.diff
Chris Jones e16848289d boost171: New port, providing boost 1.71
Installation is isolated under ${prefix}/libexec/boost171 to allow
parallel installation of multiple boost versions.
2021-06-02 09:18:23 -04:00

17 lines
473 B
Diff

--- tools/build/src/tools/python.jam.orig
+++ tools/build/src/tools/python.jam
@@ -542,6 +542,13 @@
libraries ?= $(default-library-path) ;
includes ?= $(default-include-path) ;
}
+ else if $(target-os) = darwin
+ {
+ includes ?= $(prefix)/Headers ;
+
+ local lib = $(exec-prefix)/lib ;
+ libraries ?= $(lib)/python$(version)/config $(lib) ;
+ }
else
{
includes ?= $(prefix)/include/python$(version) ;