Skip to content

Commit

Permalink
make: add libpfctl linker hint (#3)
Browse files Browse the repository at this point in the history
This is required anyway and the FreeBSD ports can stop adding it plus change CFLAGS/LDFLAGS to USES=localbase
  • Loading branch information
fichtner committed Nov 13, 2023
1 parent 7dbbfd8 commit 0037c37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ SRCS+= bpf_optimize.c bpf_filter.c bpf_dump.c bpf_image.c
MAN= pftop.8

CFLAGS+= -Wall -Wno-unneeded-internal-declaration -DOS_LEVEL=${OSLEVEL}
LDADD+= -lcurses
LDADD+= -lcurses -lpfctl

MANDIR=${LOCALBASE}/man/cat
BINDIR=${LOCALBASE}/sbin
Expand Down

0 comments on commit 0037c37

Please sign in to comment.