Commit 1f6de53f authored by Tony Kelman's avatar Tony Kelman

Also check for windres with a host prefix

for cross-compiling, and use result variable $(RC) to account for the possibly different name

refer to includes and .rc path using $(top_srcdir) for out-of-tree builds
parent 07bf6125
......@@ -81,7 +81,7 @@ lefty.res : ws/mswin32/lefty.rc
rc -l 0x409 -Iws/mswin32 '-IC:\\progra~1\\microsoft visual studio 8\\vc\\PlatformSDK\\include' -DNDEBUG -fo lefty.res ws/mswin32/lefty.rc
else
lefty.res : ws/mswin32/lefty.rc
windres -l 0x409 -Iws/mswin32 -DNDEBUG -Ocoff -o lefty.res ws/mswin32/lefty.rc
$(RC) -l 0x409 -I$(top_srcdir)/cmd/lefty/ws/mswin32 -DNDEBUG -Ocoff -o lefty.res $(top_srcdir)/cmd/lefty/ws/mswin32/lefty.rc
endif
else
......
......@@ -332,7 +332,7 @@ if test "${GCC}" != "yes" ; then
;;
esac
else
AC_CHECK_PROGS(RC,windres,false)
AC_CHECK_PROGS(RC,[windres ${host}-windres],false)
case "${CC}" in
*icc* )
# -Wall causes relocation errors with icc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment