mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 10:20:09 +01:00
egl: Use correct shared libraries suffix on macOS.
Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
This commit is contained in:
parent
b18f8e63ef
commit
4ece6aa552
1 changed files with 6 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue