diff options
author | glx <glx@openttd.org> | 2009-08-21 21:21:09 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2009-08-21 21:21:09 +0000 |
commit | dd1a442aaa8452daa191bd3b76770428aa2d323a (patch) | |
tree | d702ac068d0dd3d61bee6a8309e4c7e4b9d78bf1 /Makefile.lang.in | |
parent | 7fbc33dae1dc1f7886ad11074fc109d10d8867e0 (diff) | |
download | openttd-dd1a442aaa8452daa191bd3b76770428aa2d323a.tar.xz |
(svn r17249) -Fix: MinGW gcc 4.4.0 dynamically links with libgcc_s_dw2-1.dll by default. Prevent this so strgen.exe build with MinGW can be run on a system without MinGW installed. (Note: openttd.exe is not affected by this behaviour as -static is used by default for it)
Diffstat (limited to 'Makefile.lang.in')
-rw-r--r-- | Makefile.lang.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.lang.in b/Makefile.lang.in index 828fb60c4..3d32c2628 100644 --- a/Makefile.lang.in +++ b/Makefile.lang.in @@ -14,6 +14,7 @@ LANGS_SRC = $(shell ls $(LANG_DIR)/*.txt) LANGS = $(LANGS_SRC:$(LANG_DIR)/%.txt=%.lng) CXX_BUILD = !!CXX_BUILD!! CFLAGS_BUILD = !!CFLAGS_BUILD!! +LDFLAGS_BUILD= !!LDFLAGS_BUILD!! STRGEN_FLAGS = !!STRGEN_FLAGS!! STAGE = !!STAGE!! LANG_SUPPRESS= !!LANG_SUPPRESS!! @@ -59,7 +60,7 @@ lang/english.txt: $(LANG_DIR)/english.txt $(STRGEN): alloc_func.o string.o strgen.o $(E) '$(STAGE) Compiling and Linking $@' - $(Q)$(CXX_BUILD) $^ -o $@ + $(Q)$(CXX_BUILD) $(LDFLAGS_BUILD) $^ -o $@ table/strings.h: lang/english.txt $(STRGEN) $(E) '$(STAGE) Generating $@' |