mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 15:48:00 +02:00
[build] Look for libpng.pc as well when configuring.
The OpenBSD png package installs only libpng.pc and not
any of libpng{13,12,10}.pc.
This commit is contained in:
parent
5733d8d6c3
commit
d544828934
1 changed files with 1 additions and 1 deletions
|
|
@ -176,7 +176,7 @@ CAIRO_ENABLE_FUNCTIONS(png, PNG, yes, [
|
|||
AC_ARG_VAR([png_REQUIRES], [module name for libpng to search for using pkg-config])
|
||||
if test "x$png_REQUIRES" = x; then
|
||||
# libpng13 is GnuWin32's libpng-1.2.8 :-(
|
||||
for l in libpng12 libpng13 libpng10 ; do
|
||||
for l in libpng12 libpng13 libpng10 libpng; do
|
||||
if $PKG_CONFIG --exists $l ; then
|
||||
png_REQUIRES=$l
|
||||
use_png=yes
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue