diff --git a/xpcom/typelib/xpt/tools/Makefile.in b/xpcom/typelib/xpt/tools/Makefile.in index 68c9f9b609b0..476c7596dfef 100644 --- a/xpcom/typelib/xpt/tools/Makefile.in +++ b/xpcom/typelib/xpt/tools/Makefile.in @@ -58,6 +58,8 @@ HOST_SIMPLE_PROGRAMS = $(addprefix host_, $(SIMPLE_PROGRAMS:$(BIN_SUFFIX)=$(HOST HOST_CSRCS = $(CSRCS) endif +LIBS = $(DIST)/lib/$(LIB_PREFIX)xpt.$(LIB_SUFFIX) + include $(topsrcdir)/config/rules.mk # Compile directly against the static lib, so we can use the tools @@ -66,12 +68,6 @@ ifeq (,$(filter-out WINNT WINCE,$(OS_ARCH))) DEFINES += -DEXPORT_XPT_API endif -LIBS = $(DIST)/lib/$(LIB_PREFIX)xpt.$(LIB_SUFFIX) - -# Tell the $(SIMPLE_PROGRAMS) target that we need to be recompiled -# when libxpt changes. -EXTRA_DEPS = $(wildcard $(DIST)/lib/$(LIB_PREFIX)xpt.*) - ifdef CROSS_COMPILE HOST_LIBS = $(DIST)/host/lib/$(LIB_PREFIX)hostxpt.$(LIB_SUFFIX) HOST_EXTRA_DEPS = $(wildcard $(DIST)/host/lib/$(LIB_PREFIX)hostxpt.*)