diff --git a/usr.sbin/ngctl/Makefile b/usr.sbin/ngctl/Makefile index bd936997e8af..96bbcae024c4 100644 --- a/usr.sbin/ngctl/Makefile +++ b/usr.sbin/ngctl/Makefile @@ -9,7 +9,7 @@ SRCS= main.c mkpeer.c config.c connect.c dot.c name.c show.c list.c \ msg.c debug.c shutdown.c rmhook.c status.c types.c write.c WARNS?= 3 -.if defined(RELEASE_CRUNCH) +.if defined(RELEASE_CRUNCH) || defined(NO_LIBPTHREAD) NGCTL_NO_LIBEDIT= .endif