On 2007-12-23 Andreas Metzler <[EMAIL PROTECTED]> wrote:
[...]
> Looks like make does not pass on exported variables to $(shell) constructs:
> --------------------------------
> [EMAIL PROTECTED]:/tmp/GNUTLS$ cat Makefile
> DH_OPTIONS := -Nguile-gnutls
> export DH_OPTIONS
> TESTVAR := $(shell printenv | grep DH)

> blah:
>         @printf 1;echo $(TESTVAR)
>         @printf 2; printenv | grep DH
> [EMAIL PROTECTED]:/tmp/GNUTLS$ make
> 1
> 2DH_OPTIONS=-Nguile-gnutls
> --------------------------------

Which is known with GNU make upstream.

https://savannah.gnu.org/bugs/?10593

cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to