diff --git a/widget/tests/widget/Makefile.in b/widget/tests/widget/Makefile.in index 52a6afe2ad9..ac665294e2b 100644 --- a/widget/tests/widget/Makefile.in +++ b/widget/tests/widget/Makefile.in @@ -35,7 +35,7 @@ TOOLKIT_CXXFLAGS := \ CPPSRCS = \ main.cpp \ nsWidgetTest.cpp \ - $(topsrcdir)/webshell/tests/viewer/nsStubs.cpp \ + $(DEPTH)/webshell/tests/viewer/nsStubs.cpp \ $(NULL) LIBS := \