diff --git a/gio/Makefile.am b/gio/Makefile.am
index ae368b6..83289e9 100644
--- a/gio/Makefile.am
+++ b/gio/Makefile.am
@@ -530,7 +530,8 @@ libgio_2_0_la_CFLAGS += -xobjective-c
 libgio_2_0_la_LDFLAGS += -Wl,-framework,Foundation -Wl,-framework,AppKit
 endif
 
-libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps)
+libgio_2_0_la_DEPENDENCIES = $(gio_win32_res) $(gio_def) $(platform_deps) \
+	$(top_builddir)/gmodule/libgmodule-2.0.la
 
 gio-win32-res.o: gio.rc
 	$(WINDRES) gio.rc $@
