X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=glwrap.c;h=aa560386feca11db8abbf18a3a5412f14be5fbe3;hb=2926b5a9207c28986f449a322761e4103f4c28e7;hp=94966f5142487e402bb646c0d576c0e027c5bb63;hpb=7980e4108be1dff9b074aa91b97c8d787df41d83;p=fips diff --git a/glwrap.c b/glwrap.c index 94966f5..aa56038 100644 --- a/glwrap.c +++ b/glwrap.c @@ -97,6 +97,8 @@ glwrap_lookup (char *name) const char *path; path = getenv ("FIPS_LIBGL"); + if (! path) + path = getenv ("GLAZE_LIBGL"); if (path) { gl_handle = dlopen (path, RTLD_LAZY); @@ -113,7 +115,7 @@ glwrap_lookup (char *name) ret = dlwrap_real_dlsym (gl_handle, name); if (ret == NULL) { - fprintf (stderr, "Error: glwrap_lookup failed to dlsym %s\n", + fprintf (stderr, "fips: Error: glwrap_lookup failed to dlsym %s\n", name); exit (1); }