diff options
Diffstat (limited to 'src/mapi/es2api/ABI-check')
-rwxr-xr-x | src/mapi/es2api/ABI-check | 7 |
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 |