[Distutils] freebsd .a files

Thomas Heller thomas.heller@ion-tof.com
Mon Jan 29 02:57:00 2001


setup(
      .....,
      libraries = [
                   ("mylib",
                    {"sources": ["source/1.c", "source/2.c"],
                     "include_dirs": ["source/include"],
                     "macros": [("_WINDOWS", None)],
                     },
                    ),
                   ],
      ......)

builds a static library which you can pass to your extensions
module.

Thomas