help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can be a PATH set?


From: John Graham-Cumming
Subject: Re: Can be a PATH set?
Date: Mon, 18 Apr 2005 09:37:12 -0400

On Thu, 2005-04-14 at 20:41 +0200, Federico Prades Illanes wrote:
> enviroment:
>     LD_LIBRARY_PATH=./

All that is going to do is set LD_LIBRARY_PATH in the rule for
environment and worse its setting it for just one line since each line
in a rule in GNU Make is handled separately.  So that's not going to
work.

If you want to set environment variables inside a Makefile then you can
do

    export LD_LIBRARY_PATH=./

in the Makefile.

John.
-- 
John Graham-Cumming

Home: http://www.jgc.org/
Work: http://www.electric-cloud.com/
POPFile: http://getpopfile.org/
GNU Make Standard Library: http://gmsl.sf.net/






reply via email to

[Prev in Thread] Current Thread [Next in Thread]