win32: Support autolaunching dbus daemon
[platform/upstream/glib.git] / gio / glib-compile-resources.c
index e352fc6..31e5624 100644 (file)
@@ -184,6 +184,9 @@ find_file (const gchar *filename)
   gchar *real_file;
   gboolean exists;
 
+  if (g_path_is_absolute (filename))
+    return g_strdup (filename);
+
   /* search all the sourcedirs for the correct files in order */
   for (i = 0; sourcedirs[i] != NULL; i++)
     {