[Distutils] Compiling libraries

Greg Stein gstein@lyra.org
Thu, 2 Dec 1999 15:45:50 -0800 (PST)

On Thu, 2 Dec 1999, Greg Ward wrote:
>     if not os.path.exists libfile ("expat"):
>         if os.plat == 'posix':
>             system "cd expat ; make"
>         else:
>             raise SystemExit, "you have to build the expat library first"

Just to be annoying, I'll point out that the "system" approach won't work
... Expat's makefile doesn't create a libexpat.a


Of course, reasonable people add in that line to the Makefile before
bundling Expat in their distro. :-)


Greg Stein, http://www.lyra.org/