gpsd-dev
[Top][All Lists]
Advanced

[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>

Attachment: link-python-extensions-with-libpython-attempt-3.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]