Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / games / gambatte / fix-scons-paths.patch
blobea10ee4163b422fe61bcbeee9fd20b94d8909528
1 diff --git a/libgambatte/SConstruct b/libgambatte/SConstruct
2 index e882514..87e1eaa 100644
3 --- a/libgambatte/SConstruct
4 +++ b/libgambatte/SConstruct
5 @@ -5,7 +5,9 @@ vars = Variables()
6 vars.Add('CC')
7 vars.Add('CXX')
9 -env = Environment(CPPPATH = ['src', 'include', '../common'],
10 +import os
11 +env = Environment(ENV = os.environ,
12 + CPPPATH = ['src', 'include', '../common'],
13 CFLAGS = global_cflags + global_defines,
14 CXXFLAGS = global_cxxflags + global_defines,
15 variables = vars)