summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorglx <glx@openttd.org>2009-08-21 21:28:59 +0000
committerglx <glx@openttd.org>2009-08-21 21:28:59 +0000
commitbf821420538f38f80cca8a314c27905533fa116a (patch)
tree95d0dc75e8bfef2f8830418a7479a57ce4abe008
parentdd1a442aaa8452daa191bd3b76770428aa2d323a (diff)
downloadopenttd-bf821420538f38f80cca8a314c27905533fa116a.tar.xz
(svn r17250) -Fix (r17249): I forgot depend.exe was affected too
-rw-r--r--Makefile.src.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.src.in b/Makefile.src.in
index 3b0a26527..739a9aa3b 100644
--- a/Makefile.src.in
+++ b/Makefile.src.in
@@ -15,6 +15,7 @@ CFLAGS = !!CFLAGS!!
CFLAGS_BUILD = !!CFLAGS_BUILD!!
LIBS = !!LIBS!!
LDFLAGS = !!LDFLAGS!!
+LDFLAGS_BUILD= !!LDFLAGS_BUILD!!
ROOT_DIR = !!ROOT_DIR!!
BIN_DIR = !!BIN_DIR!!
LANG_DIR = !!LANG_DIR!!
@@ -163,7 +164,7 @@ ifeq ("$(SRC_OBJS_DIR)/$(DEPEND)","$(MAKEDEPEND)")
DEP := $(MAKEDEPEND)
$(SRC_OBJS_DIR)/$(DEPEND): $(SRC_DIR)/depend/depend.cpp
$(E) '$(STAGE) Compiling and linking $(DEPEND)'
- $(Q)$(CXX_BUILD) $(CFLAGS_BUILD) -o $@ $<
+ $(Q)$(CXX_BUILD) $(CFLAGS_BUILD) $(LDFLAGS_BUILD) -o $@ $<
endif
# Make sure that only 'make depend' ALWAYS triggers a recheck