summaryrefslogtreecommitdiff
blob: da53ccb8bd6b3c5223541d98f95410ac09c813d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
--- xv-3.10a/Makefile.orig	2008-06-16 08:32:39.000000000 -0600
+++ xv-3.10a/Makefile	2008-06-16 08:49:19.000000000 -0600
@@ -369,19 +369,19 @@
 
 #xv: $(OBJS) $(JPEGLIB) $(TIFFLIB)
 xv: $(OBJS)
-	$(CC) -o xv $(CFLAGS) $(OBJS) $(LIBS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o xv $(OBJS) $(LIBS)
 
 bggen: bggen.c
-	$(CC) $(CFLAGS) -o bggen bggen.c $(LIBS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o bggen bggen.c $(LIBS)
 
 vdcomp: vdcomp.c
-	$(CC) $(CFLAGS) -o vdcomp vdcomp.c
+	$(CC) $(CFLAGS) $(LDFLAGS) -o vdcomp vdcomp.c
 
 xcmap:  xcmap.c
-	$(CC) $(CFLAGS) -o xcmap xcmap.c $(LIBS)
+	$(CC) $(CFLAGS) $(LDFLAGS) -o xcmap xcmap.c $(LIBS)
 
 xvpictoppm:  xvpictoppm.c
-	$(CC) $(CFLAGS) -o xvpictoppm xvpictoppm.c
+	$(CC) $(CFLAGS) $(LDFLAGS) -o xvpictoppm xvpictoppm.c