[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] [PATCH]: Link Python extensions with libpython - attempt 3
From: |
Matt |
Subject: |
[gpsd-dev] [PATCH]: Link Python extensions with libpython - attempt 3 |
Date: |
Wed, 14 Jan 2015 00:16:43 +1100 |
The attached lets the user specify a python-config executable (think: cross
compilation), and uses it to get the Python link libraries.
I think similar things should be done for the Python includes - see
'INCLUDEPY' - I will need this when cross-compiling later on. But that's a
job for a future patch set.
Please approve/critique.
This fixes the build under Cygwin, and doesn't cause problems for Linux that
I can see. Other platforms I can't vouch for. No impact on splint, cppcheck,
regression tests.
-----Original Message-----
From: Eric S. Raymond [mailto:address@hidden
Sent: Sunday, 11 January 2015 09:29
To: Matt
Cc: Greg Troxel; address@hidden
Subject: Re: [gpsd-dev] [PATCH]: Link Python extensions with libpython
Matt <address@hidden>:
> Ok, patch to use python-config attached, with the option to override
> its location (eg for cross compilation) via an environment variable,
> as is already done for other tools.
I'm going to leave approval or disapproval of this patch to Greg Troxel and
Bernd Zeimetz, as they've been doing the technical analysis. It's not on my
list of must-haves for the next point release.
--
<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
link-python-extensions-with-libpython-attempt-3.patch
Description: Binary data
- [gpsd-dev] [PATCH]: Link Python extensions with libpython - attempt 3,
Matt <=
- Re: [gpsd-dev] [PATCH]: Link Python extensions with libpython - attempt 3, Greg Troxel, 2015/01/13
- Re: [gpsd-dev] [PATCH]: Link Python extensions with libpython - attempt 3, Matt, 2015/01/13
- Re: [gpsd-dev] [PATCH]: Link Python extensions with libpython - attempt 3, Greg Troxel, 2015/01/13
- [gpsd-dev] cmake: (was: Re: [PATCH]: Link Python extensions with libpython - attempt 3), Eric S. Raymond, 2015/01/13
- Re: [gpsd-dev] cmake: (was: Re: [PATCH]: Link Python extensions with libpython - attempt 3), Bernd Zeimetz, 2015/01/14
- Re: [gpsd-dev] cmake: (was: Re: [PATCH]: Link Python extensions with libpython - attempt 3), Eric S. Raymond, 2015/01/14
- Re: [gpsd-dev] cmake: (was: Re: [PATCH]: Link Python extensions with libpython - attempt 3), Bernd Zeimetz, 2015/01/14
- Re: [gpsd-dev] cmake: (was: Re: [PATCH]: Link Python extensions with libpython - attempt 3), Eric S. Raymond, 2015/01/14
- Re: [gpsd-dev] cmake:, Matt, 2015/01/23
- Re: [gpsd-dev] cmake:, Bernd Zeimetz, 2015/01/25