[Pythonmac-SIG] building extensions that link against dynamic
libraries - Fixed!
Ronald Oussoren
ronaldoussoren at mac.com
Mon Apr 26 16:14:50 EDT 2004
On 26-apr-04, at 21:12, Bob Ippolito wrote:
>
> On Apr 26, 2004, at 12:27 PM, Bob Tolbert wrote:
>
>> From this I get a bundle that can successfully be imported into the
>> system Framework Python as well as Fink's python. This gives maximum
>> flexibility to my customers to use either one which was definitely a
>> goal. Clearly, I didn't use distutils since it would use "-framework
>> Python" by default.
>
> You can simply change the linker flags that distutils uses by sudo
> editing the LDSHARED (definitely) and BLDSHARED (maybe) definitions
> in:
> /System/Library/Frameworks/Python.framework/Versions/2.3/lib/
> python2.3/config/Makefile
If you're really sick you can get the same effect by some sneaky Python
code.
Of course I'd never write such code ;) ;)
Ronald
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkghack.tar
Type: application/x-tar
Size: 10240 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythonmac-sig/attachments/20040426/106e3cce/pkghack-0001.tar
-------------- next part --------------
--
X|support bv http://www.xsupport.nl/
T: +31 610271479 F: +31 204416173
More information about the Pythonmac-SIG
mailing list