forked from mirrors/nixpkgs
23 lines
623 B
Diff
23 lines
623 B
Diff
diff --git b/SConstruct a/SConstruct
|
|
old mode 100644
|
|
new mode 100755
|
|
index a7fca2e..561007e
|
|
--- b/SConstruct
|
|
+++ a/SConstruct
|
|
@@ -404,11 +404,10 @@ options = dict(
|
|
SHLINKCOMSTR=link_shared_library_message,
|
|
LINKCOMSTR=link_program_message,
|
|
PREFIX=GetOption('prefix'),
|
|
- ENV={
|
|
- 'PATH': os.environ['PATH'],
|
|
- 'TERM': os.environ['TERM'],
|
|
- 'HOME': os.environ['HOME']
|
|
- }
|
|
+ ENV = dict([ (key, os.environ[key])
|
|
+ for key in os.environ
|
|
+ if key in ['PATH', 'TERM', 'HOME', 'PKG_CONFIG_PATH']
|
|
+ ])
|
|
)
|
|
|
|
if ARGUMENTS.get('VERBOSE') == "1":
|