I want to use distutils to build an ordinary C library for subsequent use in other parts of my build. I have a setup file that contains this call to setup:
setup (name = "libcmds", ... libraries = [ ('cdms', {'sources': sourcelist, 'macros': macros, 'include_dirs': include_dirs, 'library_dirs': library_dirs, } ), ] This works and I can build the library libcdms.a, but it is put in build/temp.linux-i686-2.2, hardly the kind of place I want to refer to in other parts of my build.
Isn't this directory automatically appended to the library_dirs by distutils? Thomas