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



_______________________________________________
Openexr-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/openexr-devel

Reply via email to