From: Vinson Lee Date: Wed, 3 Oct 2018 21:56:26 +0000 (-0700) Subject: egl: Use correct shared libraries suffix on macOS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4ece6aa5524ac5acf57c3fdbe4c0fa028eaa2802;p=mesa.git egl: Use correct shared libraries suffix on macOS. Signed-off-by: Vinson Lee Reviewed-by: Eric Engestrom --- 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