SAKAI Kiyotaka <ksakai(at)isr(dot)co(dot)jp> writes:
> I think the following patch is needed, so that LD_RUN_PATH is also
> passed to -R option.
Hmm ... this puts the build-time LD_RUN_PATH into the executables, which
doesn't seem very appropriate --- rpathdir is the correct thing IMHO.
Also, what happens if LD_RUN_PATH isn't set at all ... don't you end up
with incorrect syntax for the rpath option?
regards, tom lane