diff --git a/src/mod/languages/mod_spidermonkey/sm.mak b/src/mod/languages/mod_spidermonkey/sm.mak index 450f24a2be..076b2aa915 100644 --- a/src/mod/languages/mod_spidermonkey/sm.mak +++ b/src/mod/languages/mod_spidermonkey/sm.mak @@ -3,7 +3,7 @@ JS_DIR=$(switch_srcdir)/libs/js JSLA=$(JS_DIR)/libjs.la LOCAL_CFLAGS+=-I$(JS_DIR)/src -I$(JS_DIR)/nsprpub/dist/include/nspr -DXP_UNIX -I../mod_spidermonkey -DJS_THREADSAFE -DJS_HAS_FILE_OBJECT=1 -DJS_HAS_XML_SUPPORT=1 -LOCAL_LDFLAGS+=-L$(JS_DIR)/nsprpub/pr/src -L$(JS_DIR)/nsprpub/dist/lib -lnspr4 +LOCAL_LDFLAGS+=$(JS_DIR)/nsprpub/pr/src/libnspr4.* LOCAL_LIBADD+=$(JSLA) include $(switch_srcdir)/build/modmake.rules