From 1fb40a5b920fa856fe4b9ad85b7da74d75b9f769 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 1 Dec 2024 09:09:23 +0200 Subject: gnu: xrdp: Only build with nasm on necessary platforms. * gnu/packages/rdesktop.scm (xrdp)[native-inputs]: Only include nasm on platforms which need it. Change-Id: I9f390af3c12752bc0c3696910170bc994b8a5fd6 --- gnu/packages/rdesktop.scm | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/gnu/packages/rdesktop.scm b/gnu/packages/rdesktop.scm index 23a950dad3..d5d49edc20 100644 --- a/gnu/packages/rdesktop.scm +++ b/gnu/packages/rdesktop.scm @@ -195,14 +195,18 @@ of parts of the Windows API.") pixman python python-libxml2)) - (native-inputs (list bison - cmocka - flex - gettext-minimal - intltool - nasm - pkg-config - pixman)) + (native-inputs + (append + (list bison + cmocka + flex + gettext-minimal + intltool) + (if (target-x86?) + (list nasm) + '()) + (list pkg-config + pixman))) (arguments (list #:configure-flags #~(list "--enable-strict-locations=yes" "--enable-fuse=yes" -- cgit v1.2.3