[Mesa-dev] [PATCH] egl: Use correct shared libraries suffix on macOS.
Eric Engestrom
eric.engestrom at intel.com
Thu Oct 11 12:19:02 UTC 2018
On Sunday, 2018-10-07 23:29:04 +0000, Vinson Lee wrote:
> 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}
This matches the name format in the gles{1,2} checks, so:
Reviewed-by: Eric Engestrom <eric.engestrom at intel.com>
> +else
> + LIB=${1-.libs/libEGL.so}
> +fi
>
> if ! [ -f "$LIB" ]
> then
> --
> 2.17.1.dropbox.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list