Permalink
Browse files

Bug 712584 - Properly use .def files on mingw builds r=khuey

  • Loading branch information...
Jacek Caban
Jacek Caban committed Dec 27, 2011
1 parent 5e0663f commit 9b95848d7f6091fa4979d21fe46c420bebf39156
Showing with 15 additions and 1 deletion.
  1. +7 −0 config/rules.mk
  2. +7 −0 js/src/config/rules.mk
  3. +1 −1 memory/mozutils/mozutils.def.in
View
@@ -373,6 +373,13 @@ ifdef MAPFILE
OS_LDFLAGS += -MAP:$(MAPFILE)
endif
+else #!GNU_CC
+
+ifdef DEFFILE
+OS_LDFLAGS += $(call normalizepath,$(DEFFILE))
+EXTRA_DEPS += $(DEFFILE)
+endif
+
endif # !GNU_CC
endif # WINNT
View
@@ -373,6 +373,13 @@ ifdef MAPFILE
OS_LDFLAGS += -MAP:$(MAPFILE)
endif
+else #!GNU_CC
+
+ifdef DEFFILE
+OS_LDFLAGS += $(call normalizepath,$(DEFFILE))
+EXTRA_DEPS += $(DEFFILE)
+endif
+
endif # !GNU_CC
endif # WINNT
@@ -1,4 +1,4 @@
-; ***** BEGIN LICENSE BLOCK *****
+; ***** BEGIN LICENSE BLOCK *****
; Version: MPL 1.1/GPL 2.0/LGPL 2.1
;
; The contents of this file are subject to the Mozilla Public License Version

0 comments on commit 9b95848

Please sign in to comment.