void-packages/srcpkgs/ndhc/patches/ldflags.patch
Mat Boehlke d8becfb0ef ndhc: update to 20240524.
Patch Makefile to respect LDFLAGS,
which also fixes the static build option.
2024-09-03 14:48:28 +02:00

11 lines
212 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ CPPFLAGS += $(INCL)
all: ragel ndhc
ndhc: $(NDHC_OBJS)
- $(CC) $(CFLAGS) $(INCL) -o $@ $^
+ $(CC) $(CFLAGS) $(INCL) -o $@ $^ $(LDFLAGS)
-include $(NDHC_DEP)