2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-19 16:32:16 +00:00

Complete 'install' target.

This commit is contained in:
Stefan Seefeld
2016-08-22 22:57:23 -04:00
parent f3931cfc38
commit 8a58f716ac
2 changed files with 3 additions and 0 deletions

View File

@@ -25,6 +25,7 @@ def add_options(vars):
vars.Add('LIBS', converter=lambda v:v.split())
vars.Add('PYTHON')
vars.Add('PYTHONLIBS')
vars.Add('prefix')
vars.Add('boostbook_prefix')
ui.add_variable(vars, ("arch", "target architeture", platform.machine()))

View File

@@ -24,6 +24,8 @@ def BoostLibrary(env, lib, sources, make_aliases = True, **kw):
if env.GetOption("install"):
env.Alias(lib, env.Install("$prefix/lib", lib_node))
env.Alias(lib, env.Install('$prefix/include/boost', '#/include/boost/python'))
env.Alias(lib, env.Install('$prefix/include/boost', '#/include/boost/python.hpp'))
return lib_node