|
@@ -52,17 +52,17 @@ diff --git a/config/rules.mk b/config/rules.mk
|
|
|
$(REPORT_BUILD)
|
|
|
@$(RM) $@.manifest
|
|
|
ifeq (_WINNT,$(GNU_CC)_$(OS_ARCH))
|
|
|
-- $(LINKER) -NOLOGO -OUT:$(call LINKER_OUT,$@) -PDB:$(LINK_PDBFILE) -IMPLIB:$(basename $(@F)).lib $(WIN32_EXE_LDFLAGS) $(LDFLAGS) $(MOZ_PROGRAM_LDFLAGS) $($(notdir $@)_OBJS) $(RESFILE) $(STATIC_LIBS) $(SHARED_LIBS) $(OS_LIBS
|
|
|
+- $(LINKER) -NOLOGO -OUT:$(call LINKER_OUT,$@) -PDB:$(LINK_PDBFILE) -IMPLIB:$(basename $(@F)).lib $(WIN32_EXE_LDFLAGS) $(LDFLAGS) $(MOZ_PROGRAM_LDFLAGS) $($(notdir $@)_OBJS) $(RESFILE) $(STATIC_LIBS) $(SHARED_LIBS) $(OS_LIBS)
|
|
|
+ $(LINKER) -NOLOGO -OUT:$(call LINKER_OUT,$@) -PDB:$(LINK_PDBFILE) -IMPLIB:$(basename $(@F)).lib $(WIN32_EXE_LDFLAGS) $(LDFLAGS) $(MOZ_PROGRAM_LDFLAGS) $($(notdir $@)_$(OBJS_VAR_SUFFIX)) $(RESFILE) $(STATIC_LIBS) $(SHARED_LIBS) $(OS_LIBS)
|
|
|
ifdef MSMANIFEST_TOOL
|
|
|
- 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 $@.manifest; then \
|
|
|
+ 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; \
|
|
|
- fi; \
|
|
|
-@@ -565,17 +565,17 @@ ifdef MSMANIFEST_TOOL
|
|
|
+@@ -566,17 +566,17 @@ ifdef MSMANIFEST_TOOL
|
|
|
fi
|
|
|
endif # MSVC with manifest tool
|
|
|
ifdef MOZ_PROFILE_GENERATE
|
|
@@ -81,7 +81,7 @@ diff --git a/config/rules.mk b/config/rules.mk
|
|
|
endif
|
|
|
ifdef MOZ_POST_PROGRAM_COMMAND
|
|
|
$(MOZ_POST_PROGRAM_COMMAND) $@
|
|
|
-@@ -616,25 +616,25 @@ endif
|
|
|
+@@ -617,25 +617,25 @@ endif
|
|
|
# Foo.o (from either Foo.c or Foo.cpp).
|
|
|
#
|
|
|
# SIMPLE_PROGRAMS = Foo Bar
|
|
@@ -109,7 +109,7 @@ diff --git a/config/rules.mk b/config/rules.mk
|
|
|
endif
|
|
|
ifdef MOZ_POST_PROGRAM_COMMAND
|
|
|
$(MOZ_POST_PROGRAM_COMMAND) $@
|
|
|
-@@ -653,17 +653,17 @@ endif
|
|
|
+@@ -654,17 +654,17 @@ endif
|
|
|
endif
|
|
|
ifndef CROSS_COMPILE
|
|
|
$(call py_action,check_binary,--host $@)
|
|
@@ -118,7 +118,7 @@ diff --git a/config/rules.mk b/config/rules.mk
|
|
|
$(LIBRARY): $(OBJS) $(STATIC_LIBS) $(EXTRA_DEPS) $(GLOBAL_DEPS)
|
|
|
$(REPORT_BUILD)
|
|
|
$(RM) $(REAL_LIBRARY)
|
|
|
-- $(AR) $(AR_FLAGS) $(OBJS) $($@_OBJS)
|
|
|
+- $(AR) $(AR_FLAGS) $(OBJS) $($@_OBJS)
|
|
|
+ $(AR) $(AR_FLAGS) $(OBJS) $($@_$(OBJS_VAR_SUFFIX))
|
|
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
@@ -128,7 +128,7 @@ diff --git a/config/rules.mk b/config/rules.mk
|
|
|
# when rebuilding the corresponding shared library. Defining an empty recipe
|
|
|
# for import libraries forces make to wait for the shared library recipe to
|
|
|
# have run before considering other targets that depend on the import library.
|
|
|
-@@ -681,17 +681,17 @@ endif
|
|
|
+@@ -682,17 +682,17 @@ endif
|
|
|
# symlinks back to the originals. The symlinks are a no-op for stabs debugging,
|
|
|
# so no need to conditionalize on OS version or debugging format.
|
|
|
|