$NetBSD: patch-ag,v 1.1.1.1 2004/06/24 15:15:32 dillo Exp $ --- io/dll.h.orig 2003-01-07 23:22:36.000000000 +0100 +++ io/dll.h @@ -38,7 +38,7 @@ #define M_GET_SYM GetProcAddress #define M_FREE_LIB FreeLibrary #else -#define M_LOAD_LIB(libname) dlopen("./lib" #libname ".so", RTLD_NOW) +#define M_LOAD_LIB(libname) dlopen(LIB_DIR "/lib" #libname ".so", RTLD_NOW) #define M_GET_SYM dlsym #define M_FREE_LIB dlclose #endif