summaryrefslogtreecommitdiffstats
path: root/src/mapi/es2api
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2017-11-14 17:16:32 -0800
committerVinson Lee <[email protected]>2017-11-15 15:26:46 -0800
commitcd58b98b03f1c7c044b7a39172d6b258c880ff3c (patch)
tree87f375f92428239d84cf366b0b70404fadc6f2e4 /src/mapi/es2api
parentae7b4fdb3230f9e9f9a4701d47f5a8bfe072db4e (diff)
mapi: Use correct shared libraries suffix on macOS.
Signed-off-by: Vinson Lee <[email protected]> Reviewed-by: Dylan Baker <[email protected]> Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/mapi/es2api')
-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