SDL2: fix cross build with -o wayland

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2019-04-25 19:38:14 +02:00
parent eaa3099a63
commit 1412599cec
No known key found for this signature in database
GPG Key ID: DE55AD8DBEBB4EE8
1 changed files with 3 additions and 0 deletions

View File

@ -90,6 +90,9 @@ if [ "$build_option_wayland" ]; then
fi
configure_args+=" --enable-video-wayland --disable-wayland-shared"
makedepends+=" libxkbcommon-devel wayland-devel wayland-protocols"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" wayland-devel"
fi
else
configure_args+=" --disable-video-wayland"
fi