aboutsummaryrefslogtreecommitdiff
path: root/graphics/png/files/patch-libpng.pc.in
blob: 372f4639183521037424ed1fe7872f57ad3a0b7c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- scripts/libpng.pc.in.orig	2009-12-03 02:46:02.000000000 +0100
+++ scripts/libpng.pc.in	2010-01-12 13:49:36.000000000 +0100
@@ -1,10 +1,10 @@
-prefix=@prefix@
-exec_prefix=@exec_prefix@
-libdir=@libdir@
-includedir=@includedir@/libpng14
+prefix=@PREFIX@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include/libpng
 
 Name: libpng
 Description: Loads and saves PNG files
 Version: 1.4.11
-Libs: -L${libdir} -lpng14
+Libs: -L${libdir} -lpng -lz -lm
 Cflags: -I${includedir}