[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Calling functions in `make-flags'
From: |
Sree Harsha Totakura |
Subject: |
Calling functions in `make-flags' |
Date: |
Sat, 22 Feb 2014 02:13:52 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131103 Icedove/17.0.10 |
Hi,
I am trying to build a package which does not have 'configure' script.
It instead relies solely on a makefile. For this to function, I have to
set the 'SH' variable inside the Makefile to a valid shell.
I am trying to set the 'SH' variable through build-flags like this:
> (arguments
> '(#:make-flags '((string-append "SH=" (which "sh")))
But this fails with the following error:
> 203: 1 [build #:make-flags ((string-append "SH=" (which "sh"))) ...]
> In unknown file:
> ?: 0 [system* "make" "-j" "4" (string-append "SH=" (which "sh"))]
>
> ERROR: In procedure system*:
> ERROR: Wrong type (expecting string): (string-append "SH=" (which "sh"))
How can I get this to work?
Regards,
Sree
- Calling functions in `make-flags',
Sree Harsha Totakura <=