Skip to content

Commit

Permalink
build with pulling strlcat/strlcpy in
Browse files Browse the repository at this point in the history
  • Loading branch information
itojun committed Jul 28, 2000
1 parent 990f704 commit aa5b500
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions netbsd/usr.sbin/dhcp6/Makefile.inc
Expand Up @@ -2,6 +2,11 @@ SRCDIR= ${.CURDIR}/../../../kame/dhcp6
CFLAGS+=-Wall -Werror -g -O2 -I$(SRCDIR)
CPPFLAGS+=-DINET6 -DHAVE_LIBINET6=1 -DHAVE_GETADDRINFO=1 -DHAVE_GETNAMEINFO=1 -DHAVE_GETIFADDRS=1 -DHAVE_IF_NAMETOINDEX=1 -DSTDC_HEADERS=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_IFADDRS_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_TM_ZONE=1 -DGETPGRP_VOID=1 -DRETSIGTYPE=void -DHAVE_MKTIME=1 -DHAVE_SELECT=1 -DHAVE_SOCKET=1

# pull strlcpy/strlcat in
SRCDIR+=${.CURDIR}/../../../kame/dhcp6/missing
CPPFLAGS+=-DUSE_STRLCPY -DUSE_STRLCAT
SRCS+=strlcpy.c strlcat.c

LDADD+= -L${.CURDIR}/../../../lib/libinet6 \
-L${.CURDIR}/../../../lib/libinet6/obj \
-L/usr/local/v6/lib -linet6
Expand Down

0 comments on commit aa5b500

Please sign in to comment.