Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boost.m4: look for Python versioned libraries on Debian #91

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

akimd
Copy link
Contributor

@akimd akimd commented Nov 2, 2016

I have been using this patch for my project since March 2015, and it
works nicely for Python 3. I confess I don't have much experience
with Python 2. But this was really needed for my project to work.

The idea is to look for the $PYTHON being used to decide which version
of Boost.Python should be used.

  • build-aux/boost.m4 (BOOST_FIND_LIB, BOOST_FIND_LIBS, _BOOST_FIND_LIBS):
    Take a lib suffix argument.
    (Python): Specify the possible Python suffix version.

I have been using this patch for my project since March 2015, and it
works nicely for Python 3.  I confess I don't have much experience
with Python 2.  But this was really needed for my project to work.

The idea is to look for the $PYTHON being used to decide which version
of Boost.Python should be used.

* build-aux/boost.m4 (BOOST_FIND_LIB, BOOST_FIND_LIBS, _BOOST_FIND_LIBS):
Take a lib suffix argument.
(Python): Specify the possible Python suffix version.
* build-aux/boost.m4 (BOOST_PYTHON): Append python-config's --libs and
--ldflags to BOOST_PYTHON_LIBS and BOOST_PYTHON_LDFLAGS.
@akimd
Copy link
Contributor Author

akimd commented Nov 26, 2016

Hey boy,

Ping!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant