--- gtk/Makefile.am	2013-03-07 16:59:40.000000000 +0100
+++ gtk/Makefile.am	2013-03-07 17:01:42.000000000 +0100
@@ -1294,9 +1294,7 @@
 #
 # Installed tools
 #
-bin_PROGRAMS = \
-	gtk-query-immodules-3.0	\
-	gtk-launch
+bin_PROGRAMS = gtk-query-immodules-3.0
 
 if BUILD_ICON_CACHE
 bin_PROGRAMS += gtk-update-icon-cache
@@ -1343,8 +1341,11 @@
 gtk_update_icon_cache_SOURCES = updateiconcache.c
 endif
 
+if HAVE_GIO_UNIX
+bin_PROGRAMS += gtk-launch
 gtk_launch_LDADD = $(LDADDS)
 gtk_launch_SOURCES = gtk-launch.c
+endif
 
 .PHONY: files test test-debug
 
