aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/linux/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/linux/src')
-rw-r--r--plugins/linux/src/native/build.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/linux/src/native/build.xml b/plugins/linux/src/native/build.xml
index d840646..f25975c 100644
--- a/plugins/linux/src/native/build.xml
+++ b/plugins/linux/src/native/build.xml
@@ -41,14 +41,14 @@
</target>
<target name="compileNativeEventLib" depends="init">
- <exec dir="." executable="g++" os="linux">
+ <exec dir="." executable="g++" os="Linux">
<arg line="--shared -o libeventInterface.so eventInterface.cpp EventDevice.cpp"/>
</exec>
</target>
<target name="compileNativeJinputLib" depends="init">
- <exec dir="." executable="g++">
- <arg line="-I$JAVA_HOME/include -I$JAVA_HOME/include/linux --shared -o libjinput.so jinput.cpp eventInterface.cpp EventDevice.cpp joystickInterface.cpp JoystickDevice.cpp MixedDevice.cpp"/>
+ <exec dir="." executable="g++" os="Linux">
+ <arg line="-I${java.home}/include -I${java.home}/include/linux --shared -o libjinput.so jinput.cpp eventInterface.cpp EventDevice.cpp joystickInterface.cpp JoystickDevice.cpp MixedDevice.cpp"/>
</exec>
</target>
</project>