$NetBSD: patch-test6_Makefile,v 1.1 2021/11/20 00:31:10 sjmulder Exp $

- Respect LDFLAGS when building test.

--- test6/Makefile.orig	2021-10-28 15:03:09.000000000 +0000
+++ test6/Makefile
@@ -2,7 +2,7 @@
 
 test-custom-write: test-custom-write.c ../mustach-json-c.h ../mustach-json-c.c ../mustach-wrap.c ../mustach.h ../mustach.c
 	@echo building test-custom-write
-	$(CC) $(CFLAGS) -g -o test-custom-write test-custom-write.c  ../mustach.c  ../mustach-json-c.c ../mustach-wrap.c -ljson-c
+	$(CC) $(CFLAGS) $(LDFLAGS) -g -o test-custom-write test-custom-write.c  ../mustach.c  ../mustach-json-c.c ../mustach-wrap.c -ljson-c
 
 test: test-custom-write
 	@echo starting test
