[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Hack for inter-library dependency (make DESTDIR=... install) problem
From: |
Martin Norbäck |
Subject: |
Re: Hack for inter-library dependency (make DESTDIR=... install) problem. |
Date: |
Sat, 8 Dec 2001 01:10:50 +0100 |
User-agent: |
Mutt/1.3.16i |
2001-12-07 14:58:14-0800, address@hidden ->
> ==> "mn" == Martin Norbäck <address@hidden> writes:
>
> >> > Agreed -- the same is true with Debian -- minimizing the
> >> Debian diff > is a good idea, all other things being equal. In
> >> any case, thanks > so much. I'll try this -- it looks like a
> >> good solution.
> >>
> >> That appeared to work perfectly -- thanks again.
>
> mn> Worked for me too when building RPMS!
>
> I didn't realize it was that popular. In that case, here is the shell
> script I'm using. It's not easy to stick helper scripts into spec
> files, so you'll probably need to put it in as a Source: file and
> refer to it using $RPM_SOURCE_DIR:
[...]
Actually, all I had to do in my spec file was to add:
LIBRARY_PATH=%{buildroot}/usr/lib/ogle
export LIBRARY_PATH
before
make DESTDIR=%{buildroot} install
Regards,
Martin
--
[ http://www.dtek.chalmers.se/~d95mback/ ] [ PGP: 0x453504F1 ] [ UIN: 4439498 ]
Opinions expressed above are mine, and not those of my future employees.
SIGBORE: Signature boring error, core dumped