diff options
author | Vinson Lee <[email protected]> | 2017-11-14 17:16:32 -0800 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2017-11-15 15:26:46 -0800 |
commit | cd58b98b03f1c7c044b7a39172d6b258c880ff3c (patch) | |
tree | 87f375f92428239d84cf366b0b70404fadc6f2e4 /src/mapi/es1api/ABI-check | |
parent | ae7b4fdb3230f9e9f9a4701d47f5a8bfe072db4e (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/es1api/ABI-check')
-rwxr-xr-x | src/mapi/es1api/ABI-check | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mapi/es1api/ABI-check b/src/mapi/es1api/ABI-check index bd9d0288d60..0a867343c79 100755 --- a/src/mapi/es1api/ABI-check +++ b/src/mapi/es1api/ABI-check @@ -9,7 +9,12 @@ set -eu # or in extensions that are part of the ES 1.1 extension pack. # (see http://www.khronos.org/registry/gles/specs/1.1/opengles_spec_1_1_extension_pack.pdf) -LIB=${1-es1api/.libs/libGLESv1_CM.so.1} +if [ $(uname) == "Darwin" ] +then + LIB=${1-es1api/.libs/libGLESv1_CM.dylib} +else + LIB=${1-es1api/.libs/libGLESv1_CM.so.1} +fi if ! [ -f "$LIB" ] then |