build-system/scons: Allow using a G-exp for scons-flags.
* guix/build-system/scons.scm (scons-build): Only call sexp->gexp on scons-flags when scons-flags is a pair. Signed-off-by: Christopher Baines <mail@cbaines.net>
parent
754f260753
commit
fd83edf8a1
|
@ -100,7 +100,9 @@ provides a 'SConstruct' file as its build system."
|
|||
#$(with-build-variables inputs outputs
|
||||
#~(scons-build #:name #$name
|
||||
#:source #+source
|
||||
#:scons-flags #$(sexp->gexp scons-flags)
|
||||
#:scons-flags #$(if (pair? scons-flags)
|
||||
(sexp->gexp scons-flags)
|
||||
scons-flags)
|
||||
#:system #$system
|
||||
#:build-targets #$build-targets
|
||||
#:test-target #$test-target
|
||||
|
|
Reference in New Issue