port libpng to buildroot-ng
[openwrt/svn-archive/archive.git] / libs / libpng / patches / 100-config_fix.patch
1 --- libpng3-1.2.5.0.orig/scripts/libpng-config-body.in
2 +++ libpng3-1.2.5.0/scripts/libpng-config-body.in
3 @@ -83,6 +83,7 @@
4
5 --static)
6 R_opts=""
7 + libs=${all_libs}
8 ;;
9
10 *)
11 --- libpng3-1.2.5.0.orig/scripts/libpng.pc.in
12 +++ libpng3-1.2.5.0/scripts/libpng.pc.in
13 @@ -7,5 +7,5 @@
14 Name: libpng12
15 Description: Loads and saves PNG files
16 Version: 1.2.8
17 -Libs: -L${libdir} -lpng12 -lz -lm
18 +Libs: -lpng12
19 Cflags: -I${includedir}/libpng12