aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/windows
diff options
context:
space:
mode:
authorelias <[email protected]>2006-07-20 10:45:00 +0000
committerelias <[email protected]>2006-07-20 10:45:00 +0000
commit6a6d9ba9daeae25f0184cfe1cc534724a3ec2430 (patch)
treee94f2b535372ce5bbd9c4d0ae4c20da41476a874 /plugins/windows
parentce69f0a63628fe2adf5765832b116279990205a1 (diff)
Windows: More MinGW compile fixes
git-svn-id: file:///home/sven/projects/JOGL/git-svn/svn-server-sync/jinput/trunk@158 e343933a-64c8-49c5-92b1-88f2ce3e89e8
Diffstat (limited to 'plugins/windows')
-rw-r--r--plugins/windows/src/native/build.xml.mingw6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/windows/src/native/build.xml.mingw b/plugins/windows/src/native/build.xml.mingw
index fd37224..4250be7 100644
--- a/plugins/windows/src/native/build.xml.mingw
+++ b/plugins/windows/src/native/build.xml.mingw
@@ -6,6 +6,7 @@
<property name="plthome" location="${env.MSSdk}"/>
<property name="chome" location="c:/MinGW"/>
<property name="gcc" location="${chome}/bin/gcc"/>
+ <property name="strip" location="${chome}/bin/strip"/>
<target name="compile_dir">
<echo message="${compiledir}"/>
@@ -34,6 +35,9 @@
<fileset dir="." includes="*.o"/>
<fileset dir="${objdir}" includes="*.o"/>
</apply>
+ <apply dir="." executable="${strip}" failonerror="true">
+ <fileset dir="." includes="${dllname}"/>
+ </apply>
</target>
<target name="clean">
@@ -46,7 +50,7 @@
</target>
<target name="compile">
- <property name="rawlibs" value="-lkernel32 -luser32 -lsetupapi"/>
+ <property name="rawlibs" value="-lkernel32 -luser32 -lsetupapi -luuid"/>
<property name="dx8libs" value="-lkernel32 -ldinput8 -ldxguid -luser32"/>
<property name="commonhome" location="../../../common"/>
<property name="dx8dllname" value="jinput-dx8.dll"/>