diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2018-02-23 19:59:48 +0000 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2018-02-23 20:01:36 +0000 |
commit | f6d2b1f6adce7ab86f44705889b0fafe6e91ffed (patch) | |
tree | fde7ec4514d2f3db0b24f4aa9dcff7c6110170ff /src | |
parent | 158ce2bc816097adff5a9e2506b42a788b47c631 (diff) | |
download | libepoxy-f6d2b1f6adce7ab86f44705889b0fafe6e91ffed.tar.gz |
Do not use OPENGL_LIB on Android
When building on Android we end up in the Linux branch of the symbol
loading logic, but the __ANDROID__ conditional does not have the
OPENGL_LIB symbol defined, and that breaks the build.
Closes: #152
Diffstat (limited to 'src')
-rw-r--r-- | src/dispatch_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dispatch_common.c b/src/dispatch_common.c index d66cfca..dc494c4 100644 --- a/src/dispatch_common.c +++ b/src/dispatch_common.c @@ -675,8 +675,10 @@ epoxy_gl_dlsym(const char *name) #else void *sym; +# if defined(OPENGL_LIB) if (!api.gl_handle) get_dlopen_handle(&api.gl_handle, OPENGL_LIB, false); +# endif if (api.gl_handle) return do_dlsym(&api.gl_handle, NULL, name, true); |