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 10:05 AM, Michael Schwendt <mschwendt@xxxxxxxxx> wrote:
> On Tue, 16 Aug 2011 08:18:54 -0500, RS (Richard) wrote:
>
>> I'm working on a small library that uses a very simple makefile (no
>> autoconf, etc.) and it sets the library name and soname within the
>> makefile.
>>
>> Instead of hard coding it in the spec file I would like to extract the
>> library name and soname from the makefile.
>
> Why?
> Doesn't the makefile install the library correctly?
> Or perhaps you only need to run "ldconfig -n ..." to add missing symlinks?

Never used that before. I'll give it a shot.


> One reason why I ask these questions is that several packagers prefer
> hardcoded sonames in spec files, so they won't build soname bumps
> accidentally. For hardcoded sonames in spec files, the build would
> fail as an early-warning system.

I can see the logic in that, but in this case the library in question
has a VERY small target audience and if there was a breakage it would
not be a show stopper.

Thanks,
Richard
-- 
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