Source: libpng
Version: 1.2.27-1
Severity: normal
Tags: patch
Hi,
The libpng.pc does not contain the needed information to do static
linking. Attached a patch that solves this.
regards,
guillem
diff --git a/scripts/libpng.pc-configure.in b/scripts/libpng.pc-configure.in
index cef878c..7ee4411 100644
--- a/scripts/libpng.pc-configure.in
+++ b/scripts/libpng.pc-configure.in
@@ -7,4 +7,5 @@ Name: libpng
Description: Loads and saves PNG files
Version: 1.2.27
Libs: -L${libdir} -lpng12
+Libs.private: @LIBS@
Cflags: -I${includedir} @LIBPNG_NO_MMX@