From 9501078d69d43ba7ec44695632af54d4d70bb3de Mon Sep 17 00:00:00 2001 From: resver Date: Wed, 9 Jan 2013 16:54:08 +0000 Subject: [PATCH] Respect AR and RANLIB environment variables in SConscript. Signed-off-by: git-svn-id: http://exfat.googlecode.com/svn/trunk@323 60bc1c72-a15a-11de-b98f-4500b42dc123 --- SConstruct | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SConstruct b/SConstruct index 997e8e4..f11b803 100644 --- a/SConstruct +++ b/SConstruct @@ -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: -- 2.11.0