fix error loading mod_spidermonkey due to missing PR_* symbols
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12939 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
65e8a11e52
commit
8b6905d188
|
@ -112,9 +112,9 @@ $(MODNAME).$(LIBTOOL_LIB_EXTEN): $(LIBS) $(LOCAL_LIBADD) $(OUR_DEPS) $(LOCAL_OBJ
|
|||
@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:
|
||||
|
|
|
@ -3,7 +3,8 @@ 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_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
|
||||
|
||||
|
|
Loading…
Reference in New Issue