Mesa (master): egl: Use correct shared libraries suffix on macOS.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Oct 11 18:38:48 UTC 2018
Module: Mesa
Branch: master
Commit: 4ece6aa5524ac5acf57c3fdbe4c0fa028eaa2802
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4ece6aa5524ac5acf57c3fdbe4c0fa028eaa2802
Author: Vinson Lee <vlee at freedesktop.org>
Date: Wed Oct 3 14:56:26 2018 -0700
egl: Use correct shared libraries suffix on macOS.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
---
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 460e61a357..4200f9c07f 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
More information about the mesa-commit
mailing list