OSDN Git Service

Respect AR and RANLIB environment variables in SConscript.
authorresver <resver@60bc1c72-a15a-11de-b98f-4500b42dc123>
Wed, 9 Jan 2013 16:54:08 +0000 (16:54 +0000)
committerresver <resver@60bc1c72-a15a-11de-b98f-4500b42dc123>
Wed, 9 Jan 2013 16:54:08 +0000 (16:54 +0000)
Signed-off-by: <vapier@gmail.com>
git-svn-id: http://exfat.googlecode.com/svn/trunk@323 60bc1c72-a15a-11de-b98f-4500b42dc123

SConstruct

index 997e8e4..f11b803 100644 (file)
@@ -33,6 +33,10 @@ libfuse = 'fuse'
 if not env.GetOption('clean'):
        conf = Configure(env)
 
+       if 'AR' in os.environ:
+               conf.env.Replace(AR = os.environ['AR'])
+       if 'RANLIB' in os.environ:
+               conf.env.Replace(RANLIB = os.environ['RANLIB'])
        if 'CC' in os.environ:
                conf.env.Replace(CC = os.environ['CC'])
        if 'CCFLAGS' in os.environ: