shithub: choc

Download patch

ref: 69b8559f486e8a6ad7cc9b31ceedfcbfffdc9bfb
parent: 62df1ab1dd5bd04c5e6228cea09442c5177a955e
author: Simon Howard <fraggle@gmail.com>
date: Thu Jul 9 16:19:08 EDT 2009

Include the resource file in the source list when building the setup
tool.

Subversion-branch: /branches/raven-branch
Subversion-revision: 1613

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -161,7 +161,11 @@
 m_controls.c         m_controls.h          \
 z_native.c           z_zone.h
 
+if HAVE_WINDRES
+chocolate_setup_SOURCES=$(SETUP_FILES) $(COMMON_SOURCE_FILES) setup-res.rc
+else
 chocolate_setup_SOURCES=$(SETUP_FILES) $(COMMON_SOURCE_FILES)
+endif
 chocolate_setup_LDADD = setup/libsetup.a                             \
                         $(top_builddir)/wince/libc_wince.a           \
                         $(top_builddir)/textscreen/libtextscreen.a   \