Skip to content

Commit

Permalink
Bug 712584 - Properly use .def files on mingw builds r=khuey
Browse files Browse the repository at this point in the history
  • Loading branch information
cjacek committed Dec 27, 2011
1 parent 56d9dad commit 5e09921
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
7 changes: 7 additions & 0 deletions config/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions js/src/config/rules.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion memory/mozutils/mozutils.def.in
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 5e09921

Please sign in to comment.