M7350/oe-core/meta-tp/recipes/wide-dhcpv6/files/wide-dhcpv6-config.patch

23 lines
696 B
Diff
Raw Permalink Normal View History

2024-09-09 08:57:42 +00:00
diff --git a/Makefile.in b/Makefile.in
index a39596f..9afa95c 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -37,7 +37,7 @@ user= @user@
group= @group@
CFLAGS= @CFLAGS@ @DEFS@ -DSYSCONFDIR=\"${sysconfdir}\" \
- -DLOCALDBDIR=\"${localdbdir}\"
+ -DLOCALDBDIR=\"${localdbdir}\" -D_GNU_SOURCE
LDFLAGS=@LDFLAGS@
LIBOBJS=@LIBOBJS@
LIBS= @LIBS@ @LEXLIB@
@@ -70,7 +70,7 @@ dhcp6s: $(SERVOBJS) $(LIBOBJS)
$(CC) $(LDFLAGS) -o dhcp6s $(SERVOBJS) $(LIBOBJS) $(LIBS)
dhcp6relay: $(RELAYOBJS) $(LIBOBJS)
$(CC) $(LDFLAGS) -o $@ $(RELAYOBJS) $(LIBOBJS) $(LIBS)
-dhcp6ctl: $(CTLOBJS)
+dhcp6ctl: $(CTLOBJS) $(LIBOBJS)
$(CC) $(LDFLAGS) -o $@ $(CTLOBJS) $(LIBOBJS) $(LIBS)
cfparse.c y.tab.h: cfparse.y