From 1412599cec4c4b3f0890b7338529ec086ebeb4bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 25 Apr 2019 19:38:14 +0200 Subject: [PATCH] SDL2: fix cross build with -o wayland MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jürgen Buchmüller --- srcpkgs/SDL2/template | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srcpkgs/SDL2/template b/srcpkgs/SDL2/template index e265ed9a3cf..2271597a557 100644 --- a/srcpkgs/SDL2/template +++ b/srcpkgs/SDL2/template @@ -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