diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-01 20:48:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-01 23:00:29 +0300 |
commit | 1a21baa93fd555e25b95732590282ba9a63dea86 (patch) | |
tree | e35bdcd4225da1f93b0a25897c5c2a0b8817653a /configure.ac | |
parent | a391d50cc061b16bcae121a868e848f8ea7c65d2 (diff) | |
download | ManaVerse-1a21baa93fd555e25b95732590282ba9a63dea86.tar.gz ManaVerse-1a21baa93fd555e25b95732590282ba9a63dea86.tar.bz2 ManaVerse-1a21baa93fd555e25b95732590282ba9a63dea86.tar.xz ManaVerse-1a21baa93fd555e25b95732590282ba9a63dea86.zip |
Fix compilation nacl with OpenGL (regal).
Diffstat (limited to 'configure.ac')
-rwxr-xr-x | configure.ac | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index 2ba061c9c..548e18f04 100755 --- a/configure.ac +++ b/configure.ac @@ -254,10 +254,11 @@ if test "x$with_opengl" == "xno"; then else with_opengl=yes if test "x$applebuild_enabled" == "xfalse"; then - if test "x$androidbuild_enabled" == "xfalse"; then - AC_CHECK_LIB([GL], [glBegin], , - AC_MSG_ERROR([ *** Unable to find OpenGL library])) + if test "x$naclbuild_enabled" == "xfalse"; then + AC_CHECK_LIB([GL], [glBegin], , + AC_MSG_ERROR([ *** Unable to find OpenGL library])) + fi else LDFLAGS="$LDFLAGS -lGLESv1_CM -lEGL" fi |