summaryrefslogtreecommitdiff
path: root/Makefile.src.in
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-01-02 23:19:52 +0000
committertruelight <truelight@openttd.org>2007-01-02 23:19:52 +0000
commit813f99d03ea4cdb0e254ee8419a2e89144876533 (patch)
tree67cadad567b2de9d3375cfa8e225da663ae9e35b /Makefile.src.in
parent6fbfceb006b89ec2ed27b9c05c71425130bc9ece (diff)
downloadopenttd-813f99d03ea4cdb0e254ee8419a2e89144876533.tar.xz
(svn r7780) [Configure] -Fix: strip before copy, not copy before strip
Diffstat (limited to 'Makefile.src.in')
-rw-r--r--Makefile.src.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.src.in b/Makefile.src.in
index 752b7eef3..1529149b8 100644
--- a/Makefile.src.in
+++ b/Makefile.src.in
@@ -219,10 +219,11 @@ $(OBJS_RC): %.o: $(SRC_DIR)/%.rc $(FILE_DEP)
$(TTD): rev.o $(OBJS) $(CONFIG_CACHE_LINKER)
$(E) '$(STAGE) Linking $@'
- $(Q)$(CXX_HOST) $(LDFLAGS) rev.o $(OBJS) $(LIBS) -o $@ && cp $@ $(BIN_DIR)/
+ $(Q)$(CXX_HOST) $(LDFLAGS) rev.o $(OBJS) $(LIBS) -o $@
ifdef STRIP
$(Q)$(STRIP) $@
endif
+ $(Q)cp $@ $(BIN_DIR)/
# The targets to compile the endian-code