Description: Fix bare -I compile flag in examples build
 The examples Makefile.am adds `-I$(uv_CFLAGS)` to AM_CFLAGS when libuv is
 present. `uv_CFLAGS` from pkg-config expands to an empty string, leaving a
 bare `-I` on the compiler command line. gcc then treats the following `-c`
 as the include directory, turning the compile step into a link step, which
 fails with many undefined references (dnswire_writer_write, dnstap__*,
 uv_*, tinyframe_*). Drop the spurious `-I` prefix so the pkg-config flags
 are added verbatim.
Author: tangxiaofeng <tangxiaofeng@kylinos.cn>
Origin: upstream, https://codeberg.org/DNS-OARC/dnswire
Forwarded: not-needed
Last-Update: 2026-09-01

--- dnswire-0.4.0.orig/examples/Makefile.am
+++ dnswire-0.4.0/examples/Makefile.am
@@ -32,7 +32,7 @@ reader_sender_LDADD = ../src/libdnswire.
 
 if HAVE_LIBUV
 
-AM_CFLAGS += -I$(uv_CFLAGS)
+AM_CFLAGS += $(uv_CFLAGS)
 AM_LDFLAGS += $(uv_LIBS)
 
 noinst_PROGRAMS += daemon_sender_uv client_receiver_uv

