diff --git a/mozilla/layout/html/tests/Makefile.in b/mozilla/layout/html/tests/Makefile.in
index f03562d2868..def86ac56ae 100644
--- a/mozilla/layout/html/tests/Makefile.in
+++ b/mozilla/layout/html/tests/Makefile.in
@@ -61,7 +61,6 @@ LIBS = \
-lsecfree \
-lmozjs \
-ljsdom \
- -lcaps \
-lraptorgfx \
-lxpcom \
-lxp \