1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/testing/opendetex/respect-ldflags.patch
2019-08-18 13:57:39 +02:00

15 lines
510 B
Diff

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