efraim pushed a commit to branch master
in repository guix.
commit 1fb40a5b920fa856fe4b9ad85b7da74d75b9f769
Author: Efraim Flashner <[email protected]>
AuthorDate: Sun Dec 1 09:09:23 2024 +0200
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"