diff options
author | Rob Browning <rlb@defaultvalue.org> | 2002-10-09 21:15:59 +0000 |
---|---|---|
committer | Rob Browning <rlb@defaultvalue.org> | 2002-10-09 21:15:59 +0000 |
commit | c9cfbf5beb48315e69a051349cb6bfe7deb9ebfe (patch) | |
tree | 62b5315c2f3e0e2d36bdcdeb8039382c4ca2bd81 | |
parent | 9768e0a96e8513dd8a9b59d25e43bbcb2909a5a2 (diff) | |
download | guile-c9cfbf5beb48315e69a051349cb6bfe7deb9ebfe.tar.gz |
* guile.c (main): change to call scm_lt_dlpreload_default and pass
in lt_preloaded_symbols, a value libtool automagically adds to the
binary.
-rw-r--r-- | libguile/guile.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libguile/guile.c b/libguile/guile.c index b96262008..6f00fee74 100644 --- a/libguile/guile.c +++ b/libguile/guile.c @@ -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 */ |