[PATCH 1/1] configure: check for libpng

Eugeni Dodonov eugeni at dodonov.net
Tue Feb 7 07:25:28 PST 2012


On Tue, Feb 7, 2012 at 13:14, Eugeni Dodonov <eugeni.dodonov at intel.com>wrote:

> Add an explicit check for libpng to prevent:
>
> /usr/bin/ld: libtoytoolkit.a(cairo-util.o): undefined reference to symbol
> 'png_get_valid@@PNG15_0'
> /usr/bin/ld: note: 'png_get_valid@@PNG15_0' is defined in DSO
> /usr/lib/libpng15.so.15 so try adding it to the linker command line
> /usr/lib/libpng15.so.15: could not read symbols: Invalid operation
>
> Or similar errors.
>
> Signed-off-by: Eugeni Dodonov <eugeni.dodonov at intel.com>
>

Forgot to mention - this applies to both weston and wayland-demos projects.

-- 
Eugeni Dodonov
<http://eugeni.dodonov.net/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-devel/attachments/20120207/5f4c94b1/attachment.html>


More information about the wayland-devel mailing list