changeset 14007:9653b21bde9e

[gaim-migrate @ 16592] This would've caused crashes after the tree-restructuring was complete. A lot of thanks to wabz for testing the thing, finding the bug and fixing it. committer: Tailor Script <tailor@pidgin.im>
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 28 Jul 2006 23:48:26 +0000
parents c17dd38c562d
children d9fab56e6011
files console/gntgaim.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/console/gntgaim.c	Fri Jul 28 18:19:27 2006 +0000
+++ b/console/gntgaim.c	Fri Jul 28 23:48:26 2006 +0000
@@ -246,7 +246,11 @@
 	gaim_plugins_add_search_path(path);
 	g_free(path);
 
-	gaim_plugins_add_search_path("/usr/local/lib/gaim");	/* XXX: */
+#ifdef LIBDIR
+	gaim_plugins_add_search_path(LIBDIR);
+#else
+	gaim_plugins_add_search_path("/usr/local/lib/gaim");	/* XXX: Remove this after the restructure */
+#endif
 
 	if (!gaim_core_init(GAIM_GNT_UI))
 	{