From d81cd9d3d365a6e495234ca5cbae28b1b6b9dd2f Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Sat, 29 Aug 1998 06:17:01 +0000 Subject: [PATCH] Only link against -ljsj if JAVA_OR_OJI. --- cmd/xfe/Makefile.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmd/xfe/Makefile.in b/cmd/xfe/Makefile.in index 062cbfec010..83b3a22c999 100644 --- a/cmd/xfe/Makefile.in +++ b/cmd/xfe/Makefile.in @@ -517,7 +517,10 @@ endif ifndef NO_MOCHA # XXX To a DSO... #BASIC_LIBS += $(DIST)/lib/libjs.a $(DIST)/lib/libjsj.a -BASIC_DSOS += -ljs -ljsj +BASIC_DSOS += -ljs +ifdef JAVA_OR_OJI +BASIC_DSOS += -ljsj +endif BASIC_LIBS += $(DIST)/lib/libmocha.a endif