summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/windows.config3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/windows.config b/config/windows.config
index bb1d3339..88e8a437 100644
--- a/config/windows.config
+++ b/config/windows.config
@@ -85,9 +85,10 @@ os.environ['PYTHON_INCLUDES'] = '-I%s/include/Python2.7 -I%s/include/Python2.7'
os.environ['PYTHON_LIBS'] = '-lpython27 -shrext .pyd'
# DirectX and DirectSound
-os.environ['DIRECTSOUND_CFLAGS']= '-I%s/include/DirectX' % toolchain_prefix
+os.environ['DIRECTSOUND_CFLAGS'] = '-I%s/%s/include/directx' % (toolchain_prefix, host)
os.environ['DIRECSOUND_LDFLAGS'] = '-L%s/lib' % toolchain_prefix
os.environ['DIRECTX_CFLAGS']= '-I%s/include/DirectX' % toolchain_prefix
+os.environ['DIRECTX_CFLAGS'] = '-I%s/%s/include/directx' % (toolchain_prefix, host)
os.environ['DIRECTX_LDFLAGS'] = '-L%s/lib' % toolchain_prefix
if platform == Platform.WINDOWS: