forcing python to build a static libpython2.1.a

Roman Milner roman at speeder.org
Sun Jun 17 23:16:41 EDT 2001


>>>>> "MH" == Michael Hudson <mwh at python.net> writes:

    MH> Roman Milner <roman at speeder.org> writes:
    >> Is there an easy way to have the build process disable dynamic
    >> loading? I just want a plain old static libpython2.1.a.
    >> 
    MH> I think the most efficuient way to do what you want is to
    MH> uncomment the modules you want to build statically in
    MH> Modules/Setup.  Read the comments in the top of
    MH> Modules/Setup.dist in the source distribution for more info.

That doesn't seem to achieve what I want.  What you suggest will build
the chosen modules statically into the python executable binary.  What
I need is a static libpython2.1.a that I can link against other
things.

^Roman



More information about the Python-list mailing list