RTLD_NODELETE
https://github.com/NethIafin/wine/issues/38

Index: tools/wine/wine.c
--- tools/wine/wine.c.orig
+++ tools/wine/wine.c
@@ -29,7 +29,7 @@ static const char *libdir;
 
 static void *try_dlopen( const char *path, struct strarray *errors )
 {
-    void *handle = dlopen( path, RTLD_NOW );
+    void *handle = dlopen( path, RTLD_NOW | RTLD_NODELETE);
     if (!handle) strarray_add( errors, xstrdup( dlerror() ) );
     return handle;
 }
