diff --git a/usr.sbin/ngctl/Makefile b/usr.sbin/ngctl/Makefile index 22122f836571..2d243417b0fe 100644 --- a/usr.sbin/ngctl/Makefile +++ b/usr.sbin/ngctl/Makefile @@ -17,7 +17,7 @@ LDADD= -lnetgraph .if !defined(NGCTL_NO_LIBEDIT) CFLAGS+= -DEDITLINE DPADD+= ${LIBPTHREAD} ${LIBEDIT} ${LIBTERMCAP} -LDADD+= -pthread -ledit -ltermcap +LDADD+= -lpthread -ledit -ltermcap .endif .include