* src/gnc-module/gnc-module.c

(gnc_module_system_setup_load_path): don't do anything when dir
list is empty.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6097 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Rob Browning 2001-11-28 22:26:28 +00:00
parent 56e1916523
commit e74814c28a

View File

@ -110,6 +110,9 @@ gnc_module_system_setup_load_path(void)
{ {
GList * dirs = gnc_module_system_search_dirs(); GList * dirs = gnc_module_system_search_dirs();
GList * lp; GList * lp;
if(dirs)
{
char *envt = getenv("LD_LIBRARY_PATH"); char *envt = getenv("LD_LIBRARY_PATH");
if(envt) if(envt)
@ -136,6 +139,7 @@ gnc_module_system_setup_load_path(void)
} }
g_free(envt); g_free(envt);
} }
}
/************************************************************* /*************************************************************
* gnc_module_system_init * gnc_module_system_init