Bill Gianopoulos 3 years ago
parent
commit
74de46bc5a
1 changed files with 9 additions and 10 deletions
  1. 9 10
      bug1240930-253/mozilla/1255485-6-61a1.patch

+ 9 - 10
bug1240930-253/mozilla/1255485-6-61a1.patch

@@ -10,22 +10,21 @@ MozReview-Commit-ID: L5BVxWGtpeN
 diff --git a/config/rules.mk b/config/rules.mk
 --- a/config/rules.mk
 +++ b/config/rules.mk
-@@ -560,27 +560,26 @@ endif
- # creates OBJS, links with LIBS to create Foo
- #
+@@ -562,26 +562,26 @@ endif
  $(PROGRAM): $(PROGOBJS) $(STATIC_LIBS_DEPS) $(EXTRA_DEPS) $(RESFILE) $(GLOBAL_DEPS) $(call mkdir_deps,$(FINAL_TARGET))
  	$(REPORT_BUILD)
  	@$(RM) $@.manifest
  ifeq (_WINNT,$(GNU_CC)_$(OS_ARCH))
- 	$(EXPAND_LINK) -NOLOGO -OUT:$(call LINKER_OUT,$@) -PDB:$(LINK_PDBFILE) $(WIN32_EXE_LDFLAGS) $(LDFLAGS) $(MOZ_PROGRAM_LDFLAGS) $(PROGOBJS) $(RESFILE) $(STATIC_LIBS) $(SHARED_LIBS) $(EXTRA_LIBS) $(OS_LIBS)
+ 	       $(EXPAND_LINK) -NOLOGO -OUT:$(call LINKER_OUT,$@) -PDB:$(LINK_PDBFILE) -IMPLIB:$(basename $(@F)).lib $(WIN32_EXE_LDFLAGS) $(LDFLAGS) $(MOZ_PROGRAM_LDFLAGS) $(PROGOBJS) $(RESFILE) $(STATIC_LIBS) $(SHARED_LIBS) $(OS_LIBS)
+ 
  ifdef MSMANIFEST_TOOL
--	@if test -f $@.manifest; then \
+ 	@if test -f $@.manifest; then \
 -		if test -f '$(srcdir)/$@.manifest'; then \
 -			echo 'Embedding manifest from $(srcdir)/$@.manifest and $@.manifest'; \
 -			$(MT) -NOLOGO -MANIFEST '$(win_srcdir)/$@.manifest' $@.manifest -OUTPUTRESOURCE:$@\;1; \
-+	       if test -f '$(srcdir)/$(notdir $@).manifest'; then \
-+                       echo 'Embedding manifest from $(srcdir)/$(notdir $@).manifest and $@.manifest'; \
-+                       $(MT) -NOLOGO -MANIFEST '$(win_srcdir)/$(notdir $@).manifest' $@.manifest -OUTPUTRESOURCE:$@\;1; \
++		if test -f '$(srcdir)/$(notdir $@).manifest'; then \
++			echo 'Embedding manifest from $(srcdir)/$(notdir $@).manifest and $@.manifest'; \
++			$(MT) -NOLOGO -MANIFEST '$(win_srcdir)/$(notdir $@).manifest' $@.manifest -OUTPUTRESOURCE:$@\;1; \
  		else \
  			echo 'Embedding manifest from $@.manifest'; \
  			$(MT) -NOLOGO -MANIFEST $@.manifest -OUTPUTRESOURCE:$@\;1; \
@@ -34,8 +33,8 @@ diff --git a/config/rules.mk b/config/rules.mk
 -		echo 'Embedding manifest from $(srcdir)/$@.manifest'; \
 -		$(MT) -NOLOGO -MANIFEST '$(win_srcdir)/$@.manifest' -OUTPUTRESOURCE:$@\;1; \
 +	elif test -f '$(srcdir)/$(notdir $@).manifest'; then \
-+               echo 'Embedding manifest from $(srcdir)/$(notdir $@).manifest'; \
-+               $(MT) -NOLOGO -MANIFEST '$(win_srcdir)/$(notdir $@).manifest' -OUTPUTRESOURCE:$@\;1; \
++		echo 'Embedding manifest from $(srcdir)/$(notdir $@).manifest'; \
++		$(MT) -NOLOGO -MANIFEST '$(win_srcdir)/$(notdir $@).manifest' -OUTPUTRESOURCE:$@\;1; \
  	fi
  endif	# MSVC with manifest tool
  ifdef MOZ_PROFILE_GENERATE