aboutsummaryrefslogtreecommitdiff
path: root/krb5/util/ss/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'krb5/util/ss/Makefile')
-rw-r--r--krb5/util/ss/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/krb5/util/ss/Makefile b/krb5/util/ss/Makefile
index 600d125a7853..2c43f2b5934f 100644
--- a/krb5/util/ss/Makefile
+++ b/krb5/util/ss/Makefile
@@ -7,7 +7,7 @@
# under sponsorship from the FreeBSD Foundation.
#
-PACKAGE= krb5
+PACKAGE= kerberos-lib
.include <src.opts.mk>
@@ -47,6 +47,11 @@ CFLAGS+=-I${KRB5_DIR}/util/ss \
-I${.OBJDIR:H} \
-I${.OBJDIR}
+.if !defined(BOOTSTRAPPING)
+CFLAGS+= -DHAVE_READLINE=1 \
+ -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/edit
+.endif
+
GEN= std_rqs.c ${GEN_SS_ERR_C} ${GEN_SS_ERR_H}
GEN_SCRIPTS= ct_c.awk ct_c.sed mk_cmds
GEN_SS_ERR_C= ${GEN_SS_ERR:S/.et$/.c/}