diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-10-20 10:59:09 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-10-20 11:09:09 +0100 |
commit | 063c1df27974f58b0f3c0a57417732da068923cf (patch) | |
tree | 3f4972dcbdce2b2df4481ea1b0ea4a48c81a8815 | |
parent | 71dcab0cc9accb322771fa8587241ee63fb76dd0 (diff) | |
download | libepoxy-063c1df27974f58b0f3c0a57417732da068923cf.tar.gz |
fix error: use of undeclared identifier 'OPENGL_LIB'
at epoxy/src/dispatch_common.c:690 in LibreOffice android build with
libepoxy-1.5.9
-rw-r--r-- | src/dispatch_common.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/dispatch_common.c b/src/dispatch_common.c index 592df38..153eb7c 100644 --- a/src/dispatch_common.c +++ b/src/dispatch_common.c @@ -683,7 +683,11 @@ epoxy_load_gl(void) #endif if (!api.gl_handle) { +#if defined(OPENGL_LIB) fprintf(stderr, "Couldn't open %s or %s\n", GLX_LIB, OPENGL_LIB); +#else + fprintf(stderr, "Couldn't open %s\n", GLX_LIB); +#endif abort(); } |