diff options
author | okamstudio <juan@okamstudio.com> | 2014-02-26 11:18:44 -0200 |
---|---|---|
committer | okamstudio <juan@okamstudio.com> | 2014-02-26 11:18:44 -0200 |
commit | a9aae3000f2529dc773a876f3a3908eb9dcb824c (patch) | |
tree | 9cb77129bc470c4c5e3d823057f83f8557f91099 /platform/windows/detect.py | |
parent | 47cf3fcec64a34a04995c322808d106a0e2c3736 (diff) | |
parent | abbba50b3201c2e5d94c6a8f092f4aa73dcbf24d (diff) | |
download | redot-engine-a9aae3000f2529dc773a876f3a3908eb9dcb824c.tar.gz |
Merge pull request #133 from vinzenz/master
More fixes to the build system
Diffstat (limited to 'platform/windows/detect.py')
-rw-r--r-- | platform/windows/detect.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/windows/detect.py b/platform/windows/detect.py index a94e43fc85..89c71418ea 100644 --- a/platform/windows/detect.py +++ b/platform/windows/detect.py @@ -129,8 +129,8 @@ def configure(env): else:
VC_PATH=""
- env.Append(CCFLAGS=["/I"+VC_PATH+"/Include"])
- env.Append(LIBPATH=[VC_PATH+"/Lib"])
+ env.Append(CCFLAGS=["/I" + p for p in os.getenv("INCLUDE").split(";")])
+ env.Append(LIBPATH=[p for p in os.getenv("LIB").split(";")])
env.Append(CCFLAGS=["/I"+DIRECTX_PATH+"/Include"])
env.Append(LIBPATH=[DIRECTX_PATH+"/Lib/x86"])
env['ENV'] = os.environ;
|