diff options
| author | Eric Anholt <eric@anholt.net> | 2013-12-13 16:59:49 -0800 |
|---|---|---|
| committer | Eric Anholt <eric@anholt.net> | 2013-12-13 17:00:56 -0800 |
| commit | e58e98feee46d9862fcac985f3e5b91a3f770b61 (patch) | |
| tree | 99928cbd79bde59765686e75ad561f3d9fa046b5 /test/glx_static.c | |
| parent | 5c4f73fa7f4b680977d5b1fcced28107cccc3a7e (diff) | |
| download | libepoxy-e58e98feee46d9862fcac985f3e5b91a3f770b61.tar.gz | |
Fix the behavior of glx_shared_znow if it doesn't die at startup.
We're sharing the source file with glx_static, but we don't want to
SKIP due to not being statically linked.
Diffstat (limited to 'test/glx_static.c')
| -rw-r--r-- | test/glx_static.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/glx_static.c b/test/glx_static.c index 981435f..d528a60 100644 --- a/test/glx_static.c +++ b/test/glx_static.c @@ -48,10 +48,12 @@ main(int argc, char **argv) bool pass = true; int val; +#if NEEDS_TO_BE_STATIC if (dlsym(NULL, "epoxy_glCompileShader")) { fprintf(stderr, "glx_static requires epoxy built with --enable-static\n"); return 77; } +#endif Display *dpy = get_display_or_skip(); make_glx_context_current_or_skip(dpy); |
