1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-11 13:18:25 +02:00
openwrt-xburst/openwrt/package/libpng/patches/100-config_fix.patch
nbd 0eac43ecc2 add libpng
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2005-05-05 00:05:13 +00:00

20 lines
464 B
Diff

--- libpng3-1.2.5.0.orig/scripts/libpng-config-body.in
+++ libpng3-1.2.5.0/scripts/libpng-config-body.in
@@ -83,6 +83,7 @@
--static)
R_opts=""
+ libs=${all_libs}
;;
*)
--- libpng3-1.2.5.0.orig/scripts/libpng.pc.in
+++ libpng3-1.2.5.0/scripts/libpng.pc.in
@@ -7,5 +7,5 @@
Name: libpng12
Description: Loads and saves PNG files
Version: 1.2.8
-Libs: -L${libdir} -lpng12 -lz -lm
+Libs: -lpng12
Cflags: -I${includedir}/libpng12