1
Fork 0
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:
Rob Browning 2002-10-09 21:15:59 +00:00
parent 9768e0a96e
commit c9cfbf5beb

View file

@ -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 */