shithub: choc

Download patch

ref: b6810a29407df69f57cc3fb00922347fbaeb8550
parent: 92eaebfb7a48f05f6f1b3c571b3a703274ac0111
author: Simon Howard <[email protected]>
date: Tue Jan 12 15:15:34 EST 2010

Strip executables when building Windows CE packages.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1810

--- a/pkg/wince/GNUmakefile
+++ b/pkg/wince/GNUmakefile
@@ -2,10 +2,12 @@
 include ../config.make
 
 DEPS=$(shell ./wince-cabgen -d $(CONFIG_FILE))
+EXECUTABLES=$(filter %.exe, $(DEPS))
 CONFIG_FILE=wince-cab.cfg
 OUTPUT_FILE=$(PACKAGE_TARNAME)-$(PACKAGE_VERSION).cab
 
 $(OUTPUT_FILE) : $(CONFIG_FILE) $(DEPS)
+	$(STRIP) $(EXECUTABLES)
 	./wince-cabgen $< $@
 
 clean: