summaryrefslogtreecommitdiffstats
path: root/src/mapi/es2api/ABI-check
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi/es2api/ABI-check')
-rwxr-xr-xsrc/mapi/es2api/ABI-check7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mapi/es2api/ABI-check b/src/mapi/es2api/ABI-check
index 179bea132e3..716e6679a49 100755
--- a/src/mapi/es2api/ABI-check
+++ b/src/mapi/es2api/ABI-check
@@ -6,7 +6,12 @@ set -eu
# GL_EXT_multi_draw_arrays
# GL_OES_EGL_image
-LIB=${1-es2api/.libs/libGLESv2.so.2}
+if [ $(uname) == "Darwin" ]
+then
+ LIB=${1-es2api/.libs/libGLESv2.dylib}
+else
+ LIB=${1-es2api/.libs/libGLESv2.so.2}
+fi
if ! [ -f "$LIB" ]
then