aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.in
diff options
context:
space:
mode:
authorTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-06-19 11:46:20 +0000
committerTatsuya Kinoshita <tats@vega.ocn.ne.jp>2011-06-19 11:46:20 +0000
commit7410954066d68ac2ad6aea638801714447321fec (patch)
tree7483dfed357ce3b16edf41afe16abf089a16e392 /Makefile.in
parentAdding upstream version 0.5.3 (diff)
downloadw3m-7410954066d68ac2ad6aea638801714447321fec.tar.gz
w3m-7410954066d68ac2ad6aea638801714447321fec.zip
Explicitly link w3mimgdisplay with -lX11 to build with gcc 4.5
Patch from 0.5.2-10ubuntu1 to explicitly link w3mimgdisplay with -lX11 to build with gcc 4.5, provided by Martin Pitt.
Diffstat (limited to '')
-rw-r--r--Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 0137211..2bd8038 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -199,7 +199,7 @@ dummy.o: entity.c
$(CC) $(CFLAGS) -DDUMMY -c -o $@ $?
$(IMGDISPLAY): w3mimgdisplay.o $(ALIB) w3mimg/w3mimg.a
- $(IMGLINK) $(CFLAGS) -o $(IMGDISPLAY) w3mimgdisplay.o w3mimg/w3mimg.a $(LDFLAGS) $(LIBS) $(IMGLDFLAGS)
+ $(IMGLINK) $(CFLAGS) -o $(IMGDISPLAY) w3mimgdisplay.o w3mimg/w3mimg.a $(LDFLAGS) $(LIBS) -lX11 $(IMGLDFLAGS)
w3mimgdisplay.o: w3mimgdisplay.c w3mimg/w3mimg.h
$(CC) $(CFLAGS) $(IMGCFLAGS) -o $@ -c $(srcdir)/w3mimgdisplay.c