aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/pppctl/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/pppctl/Makefile b/usr.sbin/pppctl/Makefile
index 95aa8ed9246a..45495d675f78 100644
--- a/usr.sbin/pppctl/Makefile
+++ b/usr.sbin/pppctl/Makefile
@@ -3,7 +3,7 @@
PROG= pppctl
SRCS= pppctl.c
CFLAGS+=-Wall
-LDADD+= -pthread -ledit -ltermcap
+LDADD+= -lc_r -ledit -ltermcap
DPADD+= ${LIBC_R} ${LIBEDIT} ${LIBTERMCAP}
MAN8= pppctl.8