Bug 805773 - TestSHA1.exe fails to link on mingw r=espindola
authorJacek Caban <jacek@codeweavers.com>
Mon, 29 Oct 2012 10:21:33 +0100
changeset 111794 93bfd0a08a3592403ce12b7157d4e87bf34fb185
parent 111793 9e04e7f6a1302dd056cb7368a960a6dc8f5ec7ec
child 111795 7035e54f92fc029ecaf168cb480e416e1a488e1e
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersespindola
bugs805773
milestone19.0a1
Bug 805773 - TestSHA1.exe fails to link on mingw r=espindola
mfbt/tests/Makefile.in
--- a/mfbt/tests/Makefile.in
+++ b/mfbt/tests/Makefile.in
@@ -23,11 +23,14 @@ CPP_UNIT_TESTS = \
 # not available to MFBT, we have to reset these MOZ_GLUE*_LDFLAGS before including it
 # and LIBS_ after including it. For WRAP_LDFLAGS, it shouldn't matter.
 # See later comments in bug 732875.
 
 MOZ_GLUE_PROGRAM_LDFLAGS=
 MOZ_GLUE_LDFLAGS =
 WRAP_LDFLAGS=
 
+# Since we link directly with MFBT object files, define IMPL_MFBT
+DEFINES += -DIMPL_MFBT
+
 include $(topsrcdir)/config/rules.mk
 
 LIBS= $(call EXPAND_LIBNAME_PATH,mfbt,$(DEPTH)/mfbt)