tests/Makefile.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/Makefile.in b/tests/Makefile.in
index 97f5f4e..c02ca25 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -228,7 +228,7 @@ DEPS = \
 	$(top_builddir)/src/libgdiplus.la
 
 LDADDS = \
-	$(top_builddir)/src/libgdiplus.la
+	$(top_builddir)/src/libgdiplus.la -lX11 -lglib-2.0
 
 testgdi_DEPENDENCIES = $(TEST_DEPS)
 testgdi_LDADD = $(LDADDS)