title: Android studio NDK Undefined reference to GL functions
body: <p>I made small JNI-based project.
  I do #include GLES3/gl3.h in my C code and it works. But when I try to use ANY OpenGL function it says Undefined reference to gl*. My Android.mk is:</p>
  
  <pre><code>LOCAL_PATH := $(call my-dir)
  include $(CLEAR_VARS)
  
  LOCAL_MODULE    := hello-jni
  LOCAL_CFLAGS    := -Wall -Wextra
  LOCAL_SRC_FILES := hello-jni.c
  LOCAL_LDLIBS := -lGLESv3 -ldl -llog
  LOCAL_STATIC_LIBRARIES := android_native_app_glue
  include $(BUILD_SHARED_LIBRARY)
  </code></pre>
  
  <p>What I am doing wrong? Could some one tell me what's wrong?</p>