mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-29 05:40:16 -04:00
wayland-egl: use correct nm path when cross-compiling
Inspired by Heiko Becker and Eric's work in libdrm and Mesa respectively. Cc: Eric Engestrom <eric.engestrom@imgtec.com> Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Daniel Stone <daniels@collabora.com>
This commit is contained in:
parent
b02c4013e3
commit
6903e4d539
2 changed files with 2 additions and 1 deletions
|
|
@ -29,6 +29,7 @@ AC_PROG_CC
|
|||
AC_PROG_CXX
|
||||
AC_PROG_GREP
|
||||
AM_PROG_AS
|
||||
AC_PROG_NM
|
||||
|
||||
# check if we have C++ compiler. This is hacky workaround,
|
||||
# for a reason why it is this way see
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
FUNCS=$(nm -D --defined-only ${WAYLAND_EGL_LIB} | grep -o "T .*" | cut -c 3- | while read func; do
|
||||
FUNCS=$($NM -D --defined-only ${WAYLAND_EGL_LIB} | grep -o "T .*" | cut -c 3- | while read func; do
|
||||
( grep -q "^$func$" || echo $func ) <<EOF
|
||||
wl_egl_window_resize
|
||||
wl_egl_window_create
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue