[MacPorts] #21614: Python26 framework is not recognized by ld, causing erroneous link against system python
MacPorts
noreply at macports.org
Tue Sep 29 00:02:12 PDT 2009
#21614: Python26 framework is not recognized by ld, causing erroneous link against
system python
---------------------------------+------------------------------------------
Reporter: vince@… | Owner: blb@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: ld python framework | Port: python26
---------------------------------+------------------------------------------
Comment(by blb@…):
I'm definitely far from a cmake expert, but it appears that the framework
stuff is happening when {{{Python_FRAMEWORKS}}} is set during cmake's run;
can that be set unset/set to 0 to make this work? Otherwise, perhaps
setting {{{PYTHON_INCLUDE_PATH}}} and {{{PYTHON_LIBRARY}}} would work to
point to the right bits? The right library flags should be simply
-L${prefix}/lib and -lpython2.6 as the port sets up a symlink there for
just this purpose.
--
Ticket URL: <http://trac.macports.org/ticket/21614#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list