Comment 2 for bug 38011

Revision history for this message
Peter Miller (pmiller-opensource) wrote :

This patch at least gets pngcrush to build, but highlights the disparity between the .a and .so form of libpng

--- Makefile-orig 2006-04-04 21:55:36.000000000 +1000
+++ Makefile 2006-04-04 21:56:30.000000000 +1000
@@ -6,7 +6,7 @@
 all: pngcrush

 pngcrush: pngcrush.o
- $(CC) -o pngcrush -lpng -lz pngcrush.o
+ $(CC) -static pngcrush.o -o pngcrush -lpng -lz -lm

 install: