]> git.pld-linux.org Git - packages/libpng.git/blob - libpng-pngminus.patch
- don't build static binaries.
[packages/libpng.git] / libpng-pngminus.patch
1 diff -urN libpng-1.2.1.org/contrib/pngminus/makefile.std libpng-1.2.1/contrib/pngminus/makefile.std
2 --- libpng-1.2.1.org/contrib/pngminus/makefile.std      Wed Mar 13 11:40:24 2002
3 +++ libpng-1.2.1/contrib/pngminus/makefile.std  Wed Mar 13 11:46:05 2002
4 @@ -19,13 +19,13 @@
5  #ZINC = -I$(ZPATH)/include
6  #ZLIB = -L$(ZPATH)/lib -lz
7  #ZLIBS = $(ZPATH)/lib/libz.a
8 -ZINC = -I../../../zlib
9 -ZLIB = -L../../../zlib -lz
10 -ZLIBS = ../../../zlib/libz.a
11 +ZINC = 
12 +ZLIB = -lz
13 +ZLIBS = -lz
14  
15 -CFLAGS=-O3 $(PNGINC) $(ZINC)
16 +CFLAGS=$(OPT_FLAGS) $(PNGINC) $(ZINC)
17  LDFLAGS=$(PNGLIB) $(ZLIB)
18 -LDFLAGSS=$(PNGLIBS) $(ZLIBS)
19 +LDFLAGSS=$(LD_FLAGS) $(PNGLIBS) $(ZLIBS)
20  C=.c
21  O=.o
22  L=.a
23 --- libpng-1.2.10/contrib/pngminus/makefile.std.orig    2006-05-01 17:54:46.000000000 +0200
24 +++ libpng-1.2.10/contrib/pngminus/makefile.std 2006-05-01 17:56:33.000000000 +0200
25 @@ -33,8 +33,7 @@
26  
27  # dependencies
28  
29 -#all: png2pnm$(E) pnm2png$(E)
30 -all: png2pnm$(E) pnm2png$(E) png2pnm-static$(E) pnm2png-static$(E)
31 +all: png2pnm$(E) pnm2png$(E)
32  
33  png2pnm$(O): png2pnm$(C)
34         $(CC) -c $(CFLAGS) png2pnm$(C)
This page took 0.030218 seconds and 4 git commands to generate.