openexr-devel
[Top][All Lists]
Advanced

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

[Openexr-devel] Re: Re: pkgconfig patches (ilmbase, openexr)


From: Rex Dieter
Subject: [Openexr-devel] Re: Re: pkgconfig patches (ilmbase, openexr)
Date: Wed, 16 Jan 2008 09:55:00 -0600
User-agent: KNode/0.10.5

Rex Dieter wrote:

> Bob Friesenhahn wrote:
>> On Wed, 16 Jan 2008, Rex Dieter wrote:
>>>>
>>>> We're using these in fedora (and epel) packages.
>>>
>>> Here's a followup, and improved pkgconfig patch for openexr-1.6.1.
>>>
>>> In short, moves -lz to Libs.private (only required for static
>>> linking), and
>>> omits direct references to ilmbase clags/libs, using
>>> Requires: IlmBase
>>> to inherit these automatically.
>> 
>> This will only work on systems which automatically add libraries due to
>> this "inheritance".
> 
> The "inhertance" is simply a pkg-config feature, and should(?) work on
> all platforms pkgconfig supports.

To be more clear, adding
Requires: IlmBase
does the same that was hard-coded previously, (automatically) adding
IlmBase's cflags, libs to the output of:
pkg-config --cflags --libs OpenEXR

End result should be the same.

-- Rex





reply via email to

[Prev in Thread] Current Thread [Next in Thread]