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

Add Python version to library suffix.

This commit is contained in:
Stefan Seefeld
2018-02-06 16:59:45 -05:00
parent 660487c43f
commit d4d41d94ae
6 changed files with 159 additions and 153 deletions

View File

@@ -20,6 +20,7 @@ boost_include = options.get_with('boost-include')
if boost_include:
features += include(boost_include)
python = python.instance()
py_suffix = '{}{}'.format(*python.version.split('.')[:2])
features |= set(python.include, python.linkpath, python.libs)
class has_numpy(try_run):