Make glx_static report skip if it was built non-static.

It won't have that symbol, unless it happens to be linked against the
full library.
macos/v1.5.9
Eric Anholt 11 years ago
parent 2206e6e302
commit 22ce76fe0b
  1. 5
      test/glx_static.c

@ -47,6 +47,11 @@ main(int argc, char **argv)
bool pass = true; bool pass = true;
int val; int val;
if (dlsym(NULL, "epoxy_glCompileShader")) {
fprintf(stderr, "glx_static requires epoxy built with --enable-static\n");
return 77;
}
Display *dpy = get_display_or_skip(); Display *dpy = get_display_or_skip();
make_glx_context_current_or_skip(dpy); make_glx_context_current_or_skip(dpy);

Loading…
Cancel
Save