diff console/gntgaim.c @ 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 b7a99d54a5a9
children a4aee1adefcf
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))
 	{