[Distutils] static linking in distutils/setuptools?
cwmoad at gmail.com
Mon Jan 23 20:01:02 CET 2006
With the OSX eggs I link and include static libraries for libpng and
freetype. You can just put them in a directory and when building mpl
use something like, "LDFLAGS=/tmp/static-libs python setup.py build".
This will make setuptools look in the directory you specify first.
On 1/23/06, Christopher Fonnesbeck <chris at trichech.us> wrote:
> Is there any way to specify static linking to particular libraries
> when building installers with distutils or setuptools? I want to be
> able to include the shared libraries that I am linking to in my
> builds. I did not see any info on this in the docs.
> Christopher J. Fonnesbeck
> Population Ecologist, Marine Mammal Section
> Fish & Wildlife Research Institute (FWC)
> St. Petersburg, FL
> Adjunct Assistant Professor
> Warnell School of Forest Resources
> University of Georgia
> Athens, GA
> T: 727.235.5570
> E: chris at trichech.us
> Distutils-SIG maillist - Distutils-SIG at python.org
More information about the Distutils-SIG