summaryrefslogtreecommitdiff
path: root/libguile/guile.c
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2008-11-24 22:04:44 +0100
committerLudovic Courtès <ludo@gnu.org>2008-11-24 22:04:44 +0100
commit1da93484fbaef11def3e74fe72039adec52d5fd7 (patch)
tree06b3d749664b91dd198b3ff12437e68b38a37f41 /libguile/guile.c
parent7635043239e9ac2786fec54df3eff73c7f213518 (diff)
downloadguile-1da93484fbaef11def3e74fe72039adec52d5fd7.tar.gz
Use orthodox libtoology in `guile'.
* libguile/guile.c (main): Use `LTDL_SET_PRELOADED_SYMBOLS ()' instead of our own trick.
Diffstat (limited to 'libguile/guile.c')
-rw-r--r--libguile/guile.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libguile/guile.c b/libguile/guile.c
index 2015ae8c8..ad95d4bc6 100644
--- a/libguile/guile.c
+++ b/libguile/guile.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996,1997,2000,2001, 2006 Free Software Foundation, Inc.
+/* Copyright (C) 1996,1997,2000,2001, 2006, 2008 Free Software Foundation, Inc.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@@ -67,9 +67,7 @@ int
main (int argc, char **argv)
{
#if !defined (__MINGW32__)
- /* libtool automagically inserts this variable into your executable... */
- extern const lt_dlsymlist lt_preloaded_symbols[];
- lt_dlpreload_default (lt_preloaded_symbols);
+ LTDL_SET_PRELOADED_SYMBOLS ();
#endif
scm_boot_guile (argc, argv, inner_main, 0);
return 0; /* never reached */