On Tue, 11 Mar 2008, Bill Janssen wrote:

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.

Even though 'man ld' on Mac OS X mentions -rpath, I've never been able to get it to work. -install_name is better anyway but distutils probably doesn't know about it at all.

Andi..
_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to