Browse Source

egl: Use correct shared libraries suffix on macOS.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
tags/18.3-branchpoint
Vinson Lee 6 years ago
parent
commit
4ece6aa552
1 changed files with 6 additions and 1 deletions
  1. 6
    1
      src/egl/egl-symbols-check

+ 6
- 1
src/egl/egl-symbols-check View File

#!/bin/sh #!/bin/sh
set -eu 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" ] if ! [ -f "$LIB" ]
then then

Loading…
Cancel
Save