packages/libs/libpng/patches/100-config_fix.patch
florian 44f7de1738 [package] update libpng to 1.2.35 (#5178)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-22 18:33:43 +00:00

20 lines
382 B
Diff

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