opnsense-src/lib/libpfctl/Makefile
Kristof Provost 9c238775a8 libpfct: Fix PIC flag
Use ${PICFLAG} rather than hard-adding -fPIC, which removes the
requirement for libnv to be built PIC.

MFC after:      4 weeks
Sponsored by:   Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 8403170b3d)
2021-05-07 10:15:43 +02:00

12 lines
140 B
Makefile

# $FreeBSD$
PACKAGE= lib${LIB}
LIB= pfctl
INTERNALLIB= true
SRCS= libpfctl.c
INCS= libpfctl.h
CFLAGS+=${PICFLAG}
.include <bsd.lib.mk>