<target name="build">
<property name="gcc-target" value="i686-pc-mingw32-"/>
- <property name="linkflags" value="-Wl,--subsystem,windows"/>
+ <property name="linkflags" value="-Wl,--subsystem,windows -lcomdlg32"/>
<property name="binaryname" value="xwt.exe"/>
<property name="subplat" value="Win32"/>
<ant target="build" antfile="src/org/xwt/plat/GCJ.xml"/>