summaryrefslogtreecommitdiff
path: root/extra/transcode/subtitleripper-0.3.4-respect-ldflags.patch
blob: 2af11d25792910c2c14332150787eaf3f59ab713 (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
28
Index: subtitleripper/Makefile
===================================================================
--- subtitleripper.orig/Makefile
+++ subtitleripper/Makefile
@@ -70,19 +70,19 @@ vobsub2pgm.o: vobsub2pgm.c vobsub.h spud
 # Target
 subtitle2pgm: subtitle2pgm.o spudec.o
 	@echo "Linking $@"
-	@$(CC) $^ -o $@ $(LIBS)
+	@$(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
 
 subtitle2vobsub: subtitle2vobsub.o vobsub.o 
 	@echo "Linking $@"
-	@$(CC) $^ -o $@ $(LIBS)
+	@$(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
 
 srttool: srttool.o
 	@echo "Linking $@"
-	@$(CC) -g $^ -o $@ $(LIBS)
+	@$(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
 
 vobsub2pgm: vobsub2pgm.o vobsub.o spudec.o
 	@echo "Linking $@"
-	@$(CC) -g $^ -o $@ $(LIBS)
+	@$(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
 
 .PHONY: clean dist rpm
 clean: