|
|
| version 1.4, 2012/06/08 15:25:55 | version 1.5, 2012/06/20 22:21:49 |
|---|---|
| Line 36 or obtained by writing to the Free Softw | Line 36 or obtained by writing to the Free Softw |
| /* --- MANIFEST CONSTANTS --- */ | /* --- MANIFEST CONSTANTS --- */ |
| #undef HAVE_LIBDLLOADER | |
| /* Standard libltdl search path environment variable name */ | /* Standard libltdl search path environment variable name */ |
| #undef LTDL_SEARCHPATH_VAR | #undef LTDL_SEARCHPATH_VAR |
| Line 210 loader_init (lt_get_vtable *vtable_func, | Line 211 loader_init (lt_get_vtable *vtable_func, |
| return errors; | return errors; |
| } | } |
| /* Bootstrap the loader loading with the preopening loader. */ | /* preopening loader is buggy under FreeBSD and not supported under MSVC, thus using preconfigured loader. */ |
| #define get_vtable preopen_LTX_get_vtable | #if defined(__CYGWIN__) || defined(__WINDOWS__) |
| #define preloaded_symbols LT_CONC3(lt_, LTDLOPEN, _LTX_preloaded_symbols) | #define get_vtable loadlibrary_LTX_get_vtable |
| #else | |
| #define get_vtable dlopen_LTX_get_vtable | |
| #endif | |
| LT_BEGIN_C_DECLS | LT_BEGIN_C_DECLS |
| LT_SCOPE const lt_dlvtable * get_vtable (lt_user_data data); | LT_SCOPE const lt_dlvtable * get_vtable (lt_user_data data); |
| LT_END_C_DECLS | LT_END_C_DECLS |
| #ifdef HAVE_LIBDLLOADER | #ifdef HAVE_LIBDLLOADER |
| #define preloaded_symbols LT_CONC3(lt_, LTDLOPEN, _LTX_preloaded_symbols) | |
| extern LT_DLSYM_CONST lt_dlsymlist preloaded_symbols[]; | extern LT_DLSYM_CONST lt_dlsymlist preloaded_symbols[]; |
| #endif | #endif |
| Line 234 lt_dlinit (void) | Line 239 lt_dlinit (void) |
| handles = 0; | handles = 0; |
| user_search_path = 0; /* empty search path */ | user_search_path = 0; /* empty search path */ |
| /* First set up the statically loaded preload module loader, so | /* Loading the only supported loader */ |
| we can use it to preopen the other loaders we linked in at | |
| compile time. */ | |
| errors += loader_init (get_vtable, 0); | errors += loader_init (get_vtable, 0); |
| /* Now open all the preloaded module loaders, so the application | /* Now open all the preloaded module loaders, so the application |