From 4d84fd7f8f83b80180828b2817fc9406469ca95b Mon Sep 17 00:00:00 2001 From: rswindell <> Date: Wed, 17 Oct 2018 19:41:06 +0000 Subject: [PATCH] Added missing JS_LIBS argument to JSexec link command. This resolves the following error when building with 'make JSLIB=mozjs185': /usr/bin/ld: gcc.linux.../jsexec.o: undefined reference to symbol 'JS_EndRequest' //usr/lib/libmozjs185.so.1.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status GNUmakefile:209: recipe for target 'gcc.linux.../jsexec' failed make: *** [gcc.linux.../jsexec] Error 1 --- src/sbbs3/GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sbbs3/GNUmakefile b/src/sbbs3/GNUmakefile index aa663e6be6..327b1a60bf 100644 --- a/src/sbbs3/GNUmakefile +++ b/src/sbbs3/GNUmakefile @@ -207,7 +207,7 @@ $(JSDOOR): $(JSDOOR_OBJS) $(SBBS) # JSEXEC $(JSEXEC): $(JSEXEC_OBJS) $(SBBS) @echo Linking $@ - $(QUIET)$(CXX) $(LDFLAGS) $(MT_LDFLAGS) -o $@ $(JSEXEC_OBJS) -lsbbs $(SMBLIB_LIBS) $(UIFC-MT_LIBS) $(CIOLIB-MT_LIBS) $(XPDEV-MT_LIBS) + $(QUIET)$(CXX) $(LDFLAGS) $(MT_LDFLAGS) -o $@ $(JSEXEC_OBJS) -lsbbs $(JS_LIBS) $(SMBLIB_LIBS) $(UIFC-MT_LIBS) $(CIOLIB-MT_LIBS) $(XPDEV-MT_LIBS) # ANS2ASC $(ANS2ASC): $(OBJODIR)/ans2asc.o -- GitLab