- /* Redirect all dlopens to libGL to our own wrapper library.
- * We find our own filename by looking up this very function
- * (that is, this "dlopen"), with dladdr).*/
- if (dladdr (dlopen, &info)) {
- libfips_handle = dlwrap_real_dlopen (info.dli_fname, flag);
+ /* Otherwise, for all libGL lookups we redirectl dlopens to
+ * our own library. If we've resolved libfips_handle before,
+ * our work is done. */
+ if (libfips_handle)