Bug 673616 - Fix build with --enable-shared-js and --enable-shark (r=khuey)

--HG--
extra : rebase_source : 8ec038317f7381df27942bd529ef9225ebc6fb0e
This commit is contained in:
Steve Fink 2011-07-26 15:42:16 -07:00
parent d2ab0d6e3f
commit c319d416f7
2 changed files with 2 additions and 2 deletions

View File

@ -192,7 +192,7 @@ ifdef CPP_UNIT_TESTS
CPPSRCS += $(CPP_UNIT_TESTS)
SIMPLE_PROGRAMS += $(CPP_UNIT_TESTS:.cpp=$(BIN_SUFFIX))
INCLUDES += -I$(DIST)/include/testing
LIBS += $(XPCOM_GLUE_LDOPTS) $(NSPR_LIBS)
LIBS += $(XPCOM_GLUE_LDOPTS) $(NSPR_LIBS) $(MOZ_JS_LIBS)
# ...and run them the usual way
check::

View File

@ -192,7 +192,7 @@ ifdef CPP_UNIT_TESTS
CPPSRCS += $(CPP_UNIT_TESTS)
SIMPLE_PROGRAMS += $(CPP_UNIT_TESTS:.cpp=$(BIN_SUFFIX))
INCLUDES += -I$(DIST)/include/testing
LIBS += $(XPCOM_GLUE_LDOPTS) $(NSPR_LIBS)
LIBS += $(XPCOM_GLUE_LDOPTS) $(NSPR_LIBS) $(MOZ_JS_LIBS)
# ...and run them the usual way
check::