From 4ece6aa5524ac5acf57c3fdbe4c0fa028eaa2802 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 3 Oct 2018 14:56:26 -0700 Subject: [PATCH] egl: Use correct shared libraries suffix on macOS. Signed-off-by: Vinson Lee Reviewed-by: Eric Engestrom --- src/egl/egl-symbols-check | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2