summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mailx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/mailx/Makefile')
-rw-r--r--usr/src/cmd/mailx/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/cmd/mailx/Makefile b/usr/src/cmd/mailx/Makefile
index 93b527b72a..4fb19334f2 100644
--- a/usr/src/cmd/mailx/Makefile
+++ b/usr/src/cmd/mailx/Makefile
@@ -22,6 +22,8 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright 2014 Joyent, Inc.
+#
# cmd/mailx/Makefile
PROG= mailx
@@ -67,7 +69,7 @@ CERRWARN += -_gcc=-Wno-uninitialized
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-clobbered
LINTFLAGS= -hb
-LDLIBS += -lmail
+LDLIBS += -lmail -lcmdutils
LDFLAGS += $(MAPFILE.NGB:%=-M%)
CLOBBERFILES += $(MAILXHELP)