Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit 4d84fd7f authored by rswindell's avatar rswindell

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
parent 026a5437
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment