mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-29 00:10:21 +02:00
* guile.c (main): change to call scm_lt_dlpreload_default and pass
in lt_preloaded_symbols, a value libtool automagically adds to the binary.
This commit is contained in:
parent
9768e0a96e
commit
c9cfbf5beb
1 changed files with 3 additions and 1 deletions
|
@ -89,7 +89,9 @@ int
|
|||
main (int argc, char **argv)
|
||||
{
|
||||
#if defined (DYNAMIC_LINKING) && !defined (__MINGW32__)
|
||||
scm_lt_dlset_preloaded_symbols ();
|
||||
/* libtool automagically inserts this variable into your executable... */
|
||||
extern const scm_lt_dlsymlist lt_preloaded_symbols[];
|
||||
scm_lt_dlpreload_default (lt_preloaded_symbols);
|
||||
#endif
|
||||
scm_boot_guile (argc, argv, inner_main, 0);
|
||||
return 0; /* never reached */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue