[Distutils] OSF/1 glitch?

Greg Ward gward@python.net
Fri, 16 Jun 2000 22:33:04 -0400

On 15 June 2000, A.M. Kuchling said:
> This was reported on the XML-SIG by Mark Favas, and looks like it
> might be a Distutils problem.
> =================
> The link step also appears to have a wildcard quoting problem. The ld
> command used is:
> ld -shared -expect_unresolved "*"
> Presumably the link step quotes the * for the sake of the shell, and
> sysconfig.py doesn't know this, so it winds up passing "*" as the
> argument.

You mean what's happening is this:
   exec(['ld', '-shared', '-expect_unresolved', '"*"'])

when it should be
   exec(['ld', '-shared', '-expect_unresolved', '*'])

Hmmm.  The right solution, of course, is to shlex everything coming out
of Python's Makefile, and then quote it again when we print it out.  ;-( 
Sigh... added to the todo list...

Greg Ward - Unix geek                                   gward@python.net
The real Nazis run your schools / They're coaches, businessmen and cops
    -- Dead Kennedys