build-system: perl: Accept Gexps for #:module-build-flags.

Matching the change in 2d40e6f7ab otherwise the
cross build derivations are broken, as was the case for emacs-pde.

* guix/build-system/perl.scm (perl-cross-build) [module-build-flags]: Accept
gexps.

Change-Id: I2dc85bc50bc077581e3abfc5baaedc6487118192
This commit is contained in:
Christopher Baines 2024-02-10 10:33:18 +00:00
parent ca4c9062c4
commit 4cc7302e7d
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 3 additions and 1 deletions

View File

@ -197,7 +197,9 @@ XS or similar."
native-search-paths))
#:make-maker? #$make-maker?
#:make-maker-flags #$make-maker-flags
#:module-build-flags #$(sexp->gexp module-build-flags)
#:module-build-flags #$(if (pair? module-build-flags)
(sexp->gexp module-build-flags)
module-build-flags)
#:phases #$phases
#:build #$build
#:system #$system