From e09a79a40dca980a36dabfce6a26e02061e71bc2 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sat, 21 Oct 2017 22:20:04 +0200 Subject: [PATCH] debian/rules: FreeRDP2 does not build against oss4's alsa layer. Thus, deactivating alsa support on non-linux hosts. --- debian/rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/rules b/debian/rules index 8984d3c..dcd5f2c 100755 --- a/debian/rules +++ b/debian/rules @@ -16,8 +16,10 @@ endif DEB_HOST_ARCH_OS=$(shell dpkg-architecture -qDEB_HOST_ARCH_OS) ifeq (,$(filter linux, $(DEB_HOST_ARCH_OS))) WITH_WAYLAND = -DWITH_WAYLAND=OFF +WITH_ALSA = -DWITH_ALSA=OFF else WITH_WAYLAND = +WITH_ALSA = endif NULL = @@ -37,6 +39,7 @@ DEB_CMAKE_EXTRA_FLAGS := -DCMAKE_INSTALL_INCLUDEDIR=include/$(shell dpkg-archit -DCMAKE_SKIP_RPATH=FALSE \ -DCMAKE_SKIP_INSTALL_RPATH=TRUE \ -DWITH_PULSE=ON \ + ${WITH_ALSA} \ -DWITH_CHANNELS=ON \ -DBUILTIN_CHANNELS=ON \ -DWITH_CUPS=ON \