libpng: *sigh* more .pc munging
authorKoen Kooi <koen@openembedded.org>
Thu, 10 Aug 2006 10:50:22 +0000 (10:50 +0000)
committerKoen Kooi <koen@openembedded.org>
Thu, 10 Aug 2006 10:50:22 +0000 (10:50 +0000)
packages/libpng/libpng_1.2.12.bb

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