[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-ldap-dev
Subject:    Re: Updated eggs for linux x86 and amd64
From:       Michael_Ströder <michael () stroeder ! com>
Date:       2009-01-30 13:31:21
Message-ID: 49830129.1070900 () stroeder ! com
[Download RAW message or body]

Sidnei da Silva wrote:
> On Thu, Jan 29, 2009 at 5:43 PM, Waldemar Osuch
> <waldemar.osuch@gmail.com> wrote:
>> On Thu, Jan 29, 2009 at 1:17 AM, Torsten Kurbad
>> <python-ldap@tk-webart.de> wrote:
>>> On Thursday, January 29, 2009 at 03:44 Sidnei da Silva wrote:
>>>> The best way really would be to build it statically. I did manage to
>>>> do this *once*, but fail to remember how. I'm sure it is possible
>>>> though.
>>> Yes, that's definitely a good idea. I'll try to accomplish this. If I'm
>>> stuck somewhere, maybe we can explore your memory together? ;-)
>>>
>> To force static build of the extensions I tweak source of
>> distutils/cygwinccompiler.py
>> After lineno 299 I have added:
>>
>> #TODO enable to force static build
>> if False:
>>    shared_option = "-mdll -static"
>>
>> and change "False" into "True" whenever I build python-ldap.
>> It seems to work.
>>
>> If you find a more elegant way of doing it please share.
> 
> Yes, that rings a bell. I think I managed to pass those flags manually
> without hacking the distutils source, but that's exactly what needs to
> be done.

Feel free to post a patch to setup.py / setup.cfg which does that.

Ciao, Michael.

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic