[Freeswitch-svn] [commit] r12939 - in freeswitch/trunk: build src/mod/languages/mod_spidermonkey

FreeSWITCH SVN mikej at freeswitch.org
Tue Apr 7 12:48:50 PDT 2009


Author: mikej
Date: Tue Apr  7 14:48:50 2009
New Revision: 12939

Log:
fix error loading mod_spidermonkey due to missing PR_* symbols

Modified:
   freeswitch/trunk/build/modmake.rules.in
   freeswitch/trunk/src/mod/languages/mod_spidermonkey/sm.mak

Modified: freeswitch/trunk/build/modmake.rules.in
==============================================================================
--- freeswitch/trunk/build/modmake.rules.in	(original)
+++ freeswitch/trunk/build/modmake.rules.in	Tue Apr  7 14:48:50 2009
@@ -112,9 +112,9 @@
 	@test -d .libs || mkdir .libs
 	@error="";\
 	if test -f $(CSOURCEFILE); then \
-	$(LINK) $(SOLINK) $(MODNAME).lo $(LIBS) $(LOCAL_LDFLAGS) $(LOCAL_OBJS) $(OUR_OBJS) $(LOCAL_LIBADD) $(LINK_OUTPUT_REDIR) ;\
+	$(LINK) $(SOLINK) $(MODNAME).lo $(LIBS) $(LOCAL_LDFLAGS) $(LOCAL_OBJS) $(OUR_OBJS) $(LOCAL_LIBADD) $(LOCAL_LDFLAGS_POST) $(LINK_OUTPUT_REDIR) ;\
 	else \
-	$(CXXLINK) $(SOLINK) $(MODNAME).lo $(LIBS) $(LOCAL_LDFLAGS) $(LOCAL_OBJS) $(OUR_OBJS) $(LOCAL_LIBADD) $(LINK_OUTPUT_REDIR) ;\
+	$(CXXLINK) $(SOLINK) $(MODNAME).lo $(LIBS) $(LOCAL_LDFLAGS) $(LOCAL_OBJS) $(OUR_OBJS) $(LOCAL_LIBADD) $(LOCAL_LDFLAGS_POST) $(LINK_OUTPUT_REDIR) ;\
 	fi;
 
 mod_clean:

Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey/sm.mak
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey/sm.mak	(original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey/sm.mak	Tue Apr  7 14:48:50 2009
@@ -3,7 +3,8 @@
 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_LIBADD+=$(JSLA) $(JS_DIR)/nsprpub/pr/src/libnspr4.*
+LOCAL_LDFLAGS_POST=$(JS_DIR)/nsprpub/pr/src/libnspr4.*
+LOCAL_LIBADD+=$(JSLA)
 
 include $(switch_srcdir)/build/modmake.rules
 



More information about the Freeswitch-svn mailing list