+#if 1
+/* this is to avoid having to hack every plugin to stop using $HOME */
+char *getenv(const char *name)
+{
+ static char ret[8] = ".";
+
+ // HACK
+ if (name && strcmp(name, "DISPLAY") == 0)
+ return ":0";
+
+ if (name && strcmp(name, "HOME") != 0)
+ fprintf(stderr, "getenv called with %s\n", name);
+
+ return ret;
+}
+#endif
+
+/* we hook statically linked plugins here */
+static const char *builtin_plugins[] = {
+ "builtin_gpu", "builtin_spu", "builtin_cdr", "builtin_pad"
+};
+
+static const int builtin_plugin_ids[] = {
+ PLUGIN_GPU, PLUGIN_SPU, PLUGIN_CDR, PLUGIN_PAD,
+};
+