OSDN Git Service
(root)
/
android-x86
/
external-exfat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9501078
)
Get PATH and SYSROOT variables from environment if they are defined.
author
resver
<resver@60bc1c72-a15a-11de-b98f-4500b42dc123>
Wed, 9 Jan 2013 16:58:00 +0000
(16:58 +0000)
committer
resver
<resver@60bc1c72-a15a-11de-b98f-4500b42dc123>
Wed, 9 Jan 2013 16:58:00 +0000
(16:58 +0000)
git-svn-id: http://exfat.googlecode.com/svn/trunk@324
60bc1c72
-a15a-11de-b98f-
4500b42dc123
SConstruct
patch
|
blob
|
history
diff --git
a/SConstruct
b/SConstruct
index
f11b803
..
6f4e26f
100644
(file)
--- a/
SConstruct
+++ b/
SConstruct
@@
-23,7
+23,9
@@
import platform
import SCons
env = Environment(**ARGUMENTS)
-env['ENV']['PATH'] = os.environ['PATH']
+for var in ['PATH', 'SYSROOT']:
+ if var in os.environ:
+ env['ENV'][var] = os.environ[var]
destdir = env.get('DESTDIR', '/sbin');
targets = []