egl: Use correct shared libraries suffix on macOS.
authorVinson Lee <vlee@freedesktop.org>
Wed, 3 Oct 2018 21:56:26 +0000 (14:56 -0700)
committerVinson Lee <vlee@freedesktop.org>
Thu, 11 Oct 2018 18:30:00 +0000 (11:30 -0700)
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/egl/egl-symbols-check

index 460e61a357c7ab6d02c35cb3172a7f9957c195d3..4200f9c07f3aaf307c76aef782c6023821983c99 100755 (executable)
@@ -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