summaryrefslogtreecommitdiff
path: root/gdk-pixbuf-2.0.pc.in
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2010-07-19 10:30:54 +0100
committerBastien Nocera <hadess@hadess.net>2010-07-19 10:33:24 +0100
commit644dd10729b86c8d21697c65e65d833e235cacfa (patch)
tree76a99b35ae4ed766882968a5640c659935dad465 /gdk-pixbuf-2.0.pc.in
parent84318178323aa55429bf470941de31a3d348dd5c (diff)
downloadgdk-pixbuf-644dd10729b86c8d21697c65e65d833e235cacfa.tar.gz
Fix linking when libpng loader is builtin
When the libpng loader is builtin to gdk-pixbuf, we need to require libpng itself, or the linking will fail: /usr/bin/ld: cannot find -lpng12 https://bugzilla.gnome.org/show_bug.cgi?id=624712
Diffstat (limited to 'gdk-pixbuf-2.0.pc.in')
-rw-r--r--gdk-pixbuf-2.0.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk-pixbuf-2.0.pc.in b/gdk-pixbuf-2.0.pc.in
index 167e1eab2..7e61775c3 100644
--- a/gdk-pixbuf-2.0.pc.in
+++ b/gdk-pixbuf-2.0.pc.in
@@ -11,7 +11,7 @@ gdk_pixbuf_cache_file=${gdk_pixbuf_binarydir}/loaders.cache
Name: GdkPixbuf
Description: Image loading and scaling
Version: @VERSION@
-Requires: gobject-2.0,gmodule-no-export-2.0
+Requires: gobject-2.0 gmodule-no-export-2.0 @PNG_DEP_CFLAGS_PACKAGES@
Libs: -L${libdir} -lgdk_pixbuf-@GDK_PIXBUF_API_VERSION@ @GDK_PIXBUF_EXTRA_LIBS@
Cflags: -I${includedir}/gdk-pixbuf-@GDK_PIXBUF_API_VERSION@ @GDK_PIXBUF_EXTRA_CFLAGS@