Windows: Use env.MSSdk, not MSSDK (the capitalization is important in ant). The MSVC compiler doesn't seem to mind if the PLTSDK is included or not, though (if it did, we would have noticed the incorrect env. variable)

This commit is contained in:
Elias Naur 2006-07-15 23:31:37 +00:00
parent 9db6528620
commit 7106092827
2 changed files with 1 additions and 4 deletions

View file

@ -4,7 +4,6 @@
<property name="native" location="../../src/native"/>
<property environment="env"/>
<property name="dxhome" location="${env.DXSDK_DIR}"/>
<property name="sdkhome" location="${env.MSSDK}"/>
<property name="program_files" location="${env.ProgramFiles}"/>
<property name="alhome" location="${program_files}\OpenAL 1.1 with EFX SDK"/>
<property name="chome" location="c:/MinGW"/>
@ -15,7 +14,6 @@
<target name="compile_dir">
<apply dir="." failonerror="true" executable="${gcc}" dest="." skipemptyfilesets="true">
<arg line="-c -Wall -O2 -std=gnu99"/>
<arg value="-I${sdkhome}/include"/>
<arg value="-I${dxhome}/include"/>
<arg value="-I${alhome}/include"/>
<arg value="-I${java.home}/../include"/>
@ -37,7 +35,6 @@
<srcfile/>
<arg value="-L${java.home}/../lib"/>
<arg value="-L${dxhome}/lib/x86"/>
<arg value="-L${sdkhome}/lib"/>
<arg value="-L${alhome}/libs"/>
<arg line="${libs}"/>
<fileset dir="." includes="*.o"/>

View file

@ -4,7 +4,7 @@
<property name="native" location="../../src/native"/>
<property environment="env"/>
<property name="dxhome" location="${env.DXSDK_DIR}"/>
<property name="sdkhome" location="${env.MSSDK}"/>
<property name="sdkhome" location="${env.MSSdk}"/>
<property name="program_files" location="${env.ProgramFiles}"/>
<property name="alhome" location="${program_files}\OpenAL 1.1 with EFX SDK"/>
<property name="dllname" value="lwjgl.dll"/>