[pylucene-dev] Re: experiences with --shared on Linux
Andi Vajda
vajda at osafoundation.org
Tue Mar 11 18:53:18 PDT 2008
On Tue, 11 Mar 2008, Bill Janssen wrote:
>> Ahhhh, that's where things get more complicated. setup.py doesn't know about
>> rpath.
>
> Actually, it does. Here's a patch.
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 ?
Andi..
>
> % svn diff
> Index: jcc/python.py
> ===================================================================
> --- jcc/python.py (revision 394)
> +++ jcc/python.py (working copy)
> @@ -1323,6 +1323,7 @@
> 'sources': sources
> }
> if shared:
> + args['runtime_library_dirs'] = [os.path.dirname(_jcc.__file__)]
> args['library_dirs'] = [os.path.dirname(_jcc.__file__)]
> args['libraries'] = ['jcc']
>
> Bill
>
More information about the pylucene-dev
mailing list