Fix portability hazard in qb/.

This commit is contained in:
Themaister 2019-03-07 16:14:35 +01:00
parent 3029f96511
commit eb374e6b58

View File

@ -348,7 +348,7 @@ if [ "$HAVE_OPENGL" != 'no' ] && [ "$HAVE_OPENGLES" != 'yes' ]; then
fi
fi
if [ "$HAVE_OPENGL" == 'no' ] && [ "$HAVE_OPENGLES3" == 'no' ]; then
if [ "$HAVE_OPENGL" = 'no' ] && [ "$HAVE_OPENGLES3" = 'no' ]; then
die : 'Notice: OpenGL and OpenGLES3 are disabled. Disabling HAVE_OPENGL_CORE.'
HAVE_OPENGL_CORE='no'
fi