[EMAIL PROTECTED] (Niels M�ller) writes:
> Peter Bortas <[EMAIL PROTECTED]> writes:
>
> > [EMAIL PROTECTED] (Niels M�ller) writes:
> >
> > > A more difficult problem, for me, is to add the proper -R flags. On
> > > most of Lysator's Solaris machines, zlib is installed as a shared
> > > library in /sw/local/lib. With the vanilla gcc installation
> > > (./configure --prefix=/sw/local && make bootstrap), configure thinks
> > > it can compile and link with libz without adding any extra compiler
> > > flags. But the executables can't run, because libz.so is not found.
> > >
> > > So in this case, I'll have to configure lsh with LDFLAGS="-R
> > > /sw/local/lib" ./configure.
> >
> > Pull smartlink or parts of it out of Pike perhaps?
>
> That might be a good idea. Does it solve this particular problem
> (adding -R flags even if configure doesn't add any -L flags)?
I misinterpreted the problem. No, it does not. It only adds (or
removes) them if relevant -L flags are set.
--
Peter Bortas http://peter.bortas.org
Idonex AB http://www.idonex.com