Re: Best practice for extracting information from a makefile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 16, 2011 at 03:29:31PM -0500, Richard Shaw wrote:
> On Tue, Aug 16, 2011 at 11:27 AM, Michael Schwendt <mschwendt@xxxxxxxxx> wrote:
> > On Tue, 16 Aug 2011 10:38:43 -0500, RS (Richard) wrote:
> >
> >> > cd %{buildroot}%{libdir}
> >> > ldconfig -n $(pwd)
> >> > ln -s %{name}.so.? %{name}.so
> >> > cd -
> >>
> >> Wouldn't that create a symlink of a symlink?
> >
> > That isn't a problem, is it? All that matters is that the final symlink would
> > point at a usable library the build-time linker can load
> 
> No, not a technical problem. Just inelegant :)

If this really bothers you, you can use

ln -s `readlink %{name}.so.?` %{name}.so

D.
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux