mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Reformat a comment to fit on an 80-col term
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22600 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -172,12 +172,14 @@ gnc_module_system_refresh(void)
|
||||
{
|
||||
/* is the file a loadable module? */
|
||||
|
||||
/* Gotcha: On MacOS, G_MODULE_SUFFIX is defined as "so", but if we do
|
||||
* not build clean libtool modules with "-module", we get dynamic
|
||||
* libraries ending on .dylib
|
||||
* On Windows, all modules will move to bin/, so they will be mixed with
|
||||
* other libraries, such as gtk+. Adding a prefix "libgncmod" filter will prevent
|
||||
* module loader load other libraries. And the filter should works on other platform.
|
||||
/* Gotcha: On MacOS, G_MODULE_SUFFIX is defined as "so",
|
||||
* but if we do not build clean libtool modules with
|
||||
* "-module", we get dynamic libraries ending on .dylib On
|
||||
* Windows, all modules will move to bin/, so they will be
|
||||
* mixed with other libraries, such as gtk+. Adding a
|
||||
* prefix "libgncmod" filter will prevent the module loader
|
||||
* from loading other libraries. The filter should work on
|
||||
* other platforms.
|
||||
*/
|
||||
if ((g_str_has_suffix(dent, "." G_MODULE_SUFFIX)
|
||||
|| g_str_has_suffix(dent, ".dylib"))
|
||||
|
||||
Reference in New Issue
Block a user