mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* 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:
parent
56e1916523
commit
e74814c28a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user