mirror of
https://github.com/tsukumijima/libmali-rockchip.git
synced 2026-01-24 00:10:50 +01:00
meson: Don't try to fixup non-existing headers
Change-Id: Ia2cd1b5d80e159a73511232dc67ed7df00eba2ed Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
parent
48d1e94e43
commit
95f6494b12
2 changed files with 3 additions and 2 deletions
|
|
@ -7,4 +7,5 @@
|
|||
|
||||
HEADER="${MESON_INSTALL_DESTDIR_PREFIX:-/usr}/$1"
|
||||
|
||||
sed -i 's/MESA_EGL_NO_X11_HEADERS/__unix__/g' "$HEADER"
|
||||
[ -f "$HEADER" ] && \
|
||||
sed -i 's/MESA_EGL_NO_X11_HEADERS/__unix__/g' "$HEADER"
|
||||
|
|
|
|||
|
|
@ -288,7 +288,7 @@ if not wrappers
|
|||
meson.add_install_script('fixup_wrappers.sh', get_option('libdir'))
|
||||
endif
|
||||
|
||||
if platform != 'x11'
|
||||
if platform != 'x11' and not vendor_package
|
||||
# Fixup EGL header
|
||||
meson.add_install_script('fixup_nox11.sh',
|
||||
get_option('includedir') / 'EGL' / 'eglplatform.h')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue