libpng: add -lz to the .pc to fix cairo->pango->gtk+. I'll leave it up to the knowled...
authorKoen Kooi <koen@openembedded.org>
Thu, 10 Aug 2006 09:41:47 +0000 (09:41 +0000)
committerKoen Kooi <koen@openembedded.org>
Thu, 10 Aug 2006 09:41:47 +0000 (09:41 +0000)
packages/libpng/libpng_1.2.12.bb

index 47849a7..0024172 100644 (file)
@@ -4,7 +4,7 @@ LICENSE = "libpng"
 SECTION = "libs"
 PRIORITY = "required"
 MAINTAINER = "Chris Larson <kergoth@handhelds.org>"
-PR = "r1"
+PR = "r2"
 
 DEPENDS = "zlib"
 
@@ -41,6 +41,7 @@ do_stage_prepend() {
                -e 's:=@includedir@:=${includedir}:;' \
                -e 's:=@prefix@:=${prefix}:' \
                -e 's:=@exec_prefix@:=${exec_prefix}:' \
+               -e 's:-lpng12:-lpng12\ -lz:' \
                libpng.pc
 
 }