SHA256
1
0
forked from pool/pagetools
pagetools/02-makefile-ldflags-add.patch

20 lines
607 B
Diff

Description: Add LDFLAGS to linking phase so we can use them on dh rules
Author: Víctor Cuadrado Juan <me@viccuad.me>
Upstream: dead
--- Makefile
+++ Makefile
@@ -37,10 +37,10 @@
pbm_findskew/pbm_findskew: pbm_findskew/pbm_findskew.o $(PTLIB)
- $(C++) pbm_findskew/pbm_findskew.o $(PTLIB) -l$(LIBPBM) -o $@
+ $(C++) pbm_findskew/pbm_findskew.o $(PTLIB) -l$(LIBPBM) -o $@ $(LDFLAGS)
tiff_findskew/tiff_findskew: tiff_findskew/tiff_findskew.o $(PTLIB)
- $(C++) tiff_findskew/tiff_findskew.o $(PTLIB) -ltiff -o $@
+ $(C++) tiff_findskew/tiff_findskew.o $(PTLIB) -ltiff -o $@ $(LDFLAGS)
clean: