$OpenBSD$

Index: src/i965_drv_video.c
--- src/i965_drv_video.c.orig
+++ src/i965_drv_video.c
@@ -7443,7 +7443,7 @@ i965_initialize_wrapper(VADriverContextP ctx, const ch
         memset(driver_path, 0, sizeof(driver_path));
         sprintf(driver_path, "%s/%s%s", driver_dir, driver_name, DRIVER_EXTENSION);
 
-        handle = dlopen(driver_path, RTLD_NOW | RTLD_GLOBAL | RTLD_NODELETE);
+        handle = dlopen(driver_path, RTLD_NOW | RTLD_GLOBAL);
         if (!handle) {
             fprintf(stderr, "failed to open %s\n", driver_path);
             driver_dir = strtok_r(NULL, ":", &saveptr);
