diff options
Diffstat (limited to 'loader/elfdll.c')
-rw-r--r-- | loader/elfdll.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/loader/elfdll.c b/loader/elfdll.c index e4a0190f89..057fa5b9c8 100644 --- a/loader/elfdll.c +++ b/loader/elfdll.c @@ -18,6 +18,7 @@ #include "wine/debugtools.h" #include "wine/winerror.h" #include "debug.h" +#include "path.h" //DEFAULT_DEBUG_CHANNEL(elfdll) @@ -37,9 +38,6 @@ DWORD fixup_imports(WINE_MODREF *wm); void dump_exports(HMODULE hModule); /*---------------- END HACKS ---------------*/ -//char *extra_ld_library_path = "/usr/lib/win32"; -extern char* def_path; - struct elfdll_image { HMODULE pe_module_start; @@ -68,7 +66,7 @@ void *ELFDLL_dlopen(const char *libname, int flags) /* Now try to construct searches through our extra search-path */ namelen = strlen(libname); - ldpath = def_path; + ldpath = codec_path; while(ldpath && *ldpath) { int len; |