#39223: python27 @2.7.5_0: incorrect LINKFORSHARED from distutils.sysconfig -----------------------+------------------- Reporter: ram@… | Owner: jwa@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: python27 | -----------------------+------------------- Comment (by egall@…): Replying to [comment:6 ram@…]:
Replying to [comment:3 nad@…]:
LINKFORSHARED is a configuration variable used to build the Python interpreter itself in its build directory. It isn't intended to be used directly by other components. Unfortunately, Python builds export all configuration variables whether they are meaningful or not. To embed Python, the supported interface for finding build flags is to use the pythonx.y-config script:
Thanks that's interesting, the software I was trying to build uses the [http://git.savannah.gnu.org/gitweb/?p=autoconf- archive.git;a=blob;f=m4/ax_python_devel.m4 `ax_python_devel.m4`] macro from the autoconf archive but `python-config` looks like a better approach. I'll forward that to upstream.
#39804 would update the autoconf-archive port to the latest version, which includes changes to this macro. idk if that would fix this, but it's worth a shot... -- Ticket URL: <https://trac.macports.org/ticket/39223#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X