aboutsummaryrefslogtreecommitdiffstats
path: root/testing/opendetex/respect-ldflags.patch
blob: e929853ce6d1862f3d636367e2503820a68b6dd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
By default the Makefile ignores the LDFLAGS specified in
/etc/abuild.conf make sure these are respected.

diff -upr opendetex-2.8.5.orig/Makefile opendetex-2.8.5/Makefile
--- opendetex-2.8.5.orig/Makefile	2019-08-18 13:47:35.008004838 +0200
+++ opendetex-2.8.5/Makefile	2019-08-18 13:48:24.344354667 +0200
@@ -110,7 +110,7 @@ VERSION = 2.8.5
 all:	${PROGS}
 
 detex: ${D_OBJ}
-	${CC} ${CFLAGS} -o $@ ${D_OBJ} ${LEXLIB}
+	${CC} ${CFLAGS} -o $@ ${D_OBJ} ${LEXLIB} ${LDFLAGS}
 
 delatex: detex
 	cp detex delatex