diff options
author | Vinson Lee <[email protected]> | 2018-10-03 14:56:26 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2018-10-11 11:30:00 -0700 |
commit | 4ece6aa5524ac5acf57c3fdbe4c0fa028eaa2802 (patch) | |
tree | 99bb265d999608d0e755800d5b92d30a2b8c8bcb /src/egl/egl-symbols-check | |
parent | b18f8e63ef79b5098cb32de1670983ad1e6892fe (diff) |
egl: Use correct shared libraries suffix on macOS.
Signed-off-by: Vinson Lee <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/egl/egl-symbols-check')
-rwxr-xr-x | src/egl/egl-symbols-check | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/egl/egl-symbols-check b/src/egl/egl-symbols-check index 460e61a357c..4200f9c07f3 100755 --- a/src/egl/egl-symbols-check +++ b/src/egl/egl-symbols-check @@ -1,7 +1,12 @@ #!/bin/sh set -eu -LIB=${1-.libs/libEGL.so} +if [ "$(uname)" = "Darwin" ] +then + LIB=${1-.libs/libEGL.dylib} +else + LIB=${1-.libs/libEGL.so} +fi if ! [ -f "$LIB" ] then |