aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 985fd447..cf309d41 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1428,6 +1428,16 @@ static void plugin_init(void)
NULL);
syl_plugin_load_all(path);
g_free(path);
+#elif defined(__APPLE__)
+ path = g_strconcat(get_startup_dir(), G_DIR_SEPARATOR_S,
+ "Contents" G_DIR_SEPARATOR_S
+ "Resources" G_DIR_SEPARATOR_S
+ "lib" G_DIR_SEPARATOR_S
+ "sylpheed" G_DIR_SEPARATOR_S
+ PLUGIN_DIR,
+ NULL);
+ syl_plugin_load_all(path);
+ g_free(path);
#else
syl_plugin_load_all(PLUGINDIR);
#endif