[Fluxus] [PATCH] Define PreLibPath and PreIncludePath in ARGUMENTS.

gabor papp gabor.lists at mndl.hu
Fri Mar 12 00:57:01 PST 2010


Stefano Sabatini wrote:
> On date Monday 2010-03-01 21:59:40 +0100, gabor papp encoded:
>> i tried your patch and it seems to be working.
> So what about to push it?

i would prefer using CCFLAGS to solve this problem. i think the ideal
way would be to propagate CCFLAGS and LDFLAGS from your home
environment. the problem with this that when you run 'scons' and 'sudo
scons install' they might have different settings and everything gets
recompiled. so instead i added a CCFLAGS scons argument what is merged
to the build environment.

so you can build your project like this:

scons Prefix=$HOME PLTPrefix="/usr" CCFLAGS="-I$HOME/include -L$HOME/lib"

best,
gabor




More information about the Fluxus mailing list