[Mesa-dev] [PATCH] egl: Use correct shared libraries suffix on macOS.
Vinson Lee
vlee at freedesktop.org
Sun Oct 7 23:29:04 UTC 2018
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
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 460e61a357c7..4200f9c07f3a 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.17.1.dropbox.0
More information about the mesa-dev
mailing list