diff --git a/xpfe/browser/src/Makefile.in b/xpfe/browser/src/Makefile.in index b5b85f8bcca..d7519a2aa11 100644 --- a/xpfe/browser/src/Makefile.in +++ b/xpfe/browser/src/Makefile.in @@ -36,6 +36,7 @@ EXTRA_DSO_LDOPTS = \ -L$(DIST)/bin \ -L$(DIST)/lib \ -lxpcom \ + -lmozjs \ $(NSPR_LIBS) \ $(NULL) diff --git a/xpfe/components/timebomb/Makefile.in b/xpfe/components/timebomb/Makefile.in index af425049202..882e9b20b35 100644 --- a/xpfe/components/timebomb/Makefile.in +++ b/xpfe/components/timebomb/Makefile.in @@ -25,6 +25,10 @@ EXPORTS = \ nsTimeBomb.h \ $(NULL) +EXTRA_DSO_LDOPTS += \ + $(MOZ_COMPONENT_LIBS) \ + $(NULL) + include $(topsrcdir)/config/rules.mk diff --git a/xpfe/components/timebomb/tools/Makefile.in b/xpfe/components/timebomb/tools/Makefile.in index 2a41c07d17e..20a61b57648 100644 --- a/xpfe/components/timebomb/tools/Makefile.in +++ b/xpfe/components/timebomb/tools/Makefile.in @@ -17,5 +17,9 @@ LIBS = \ $(NSPR_LIBS) \ $(NULL) +EXTRA_DSO_LDOPTS += \ + $(MOZ_COMPONENT_LIBS) \ + $(NULL) + include $(topsrcdir)/config/rules.mk