[pylucene-dev] Re: experiences with --shared on Linux

Bill Janssen janssen at parc.com
Tue Mar 11 19:24:31 PDT 2008


> I just checked this on Mac and it has no effect (it just passes another -L 
> flag which is incorrect).
> 
> Hopefully, it works better on Linux ?

Seems to work fine on Linux.  I'm looking at the code in
distutils.unixcompiler, which says,

         if sys.platform[:6] == "darwin":
            # MacOSX's linker doesn't understand the -R flag at all
            return "-L" + dir

This is a real problem with distutils; no one keeps up with the platforms.

So, I'll file a bug.  Should just fix this in setuptools, I think.

Bill


More information about the pylucene-dev mailing list