23 lines
696 B
Diff
23 lines
696 B
Diff
|
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
|