Bug 1110760 - Followup to avoid build failure with Windows SDK v7.0 and v7.0A. r=gps a=lsblakk SEA_2_32_RELBRANCH SEAMONKEY_2_32_BUILD1 SEAMONKEY_2_32_RELEASE
authorMike Hommey <mh+mozilla@glandium.org>
Fri, 09 Jan 2015 04:10:00 -0500
branchSEA_2_32_RELBRANCH
changeset 235747 b2c4309cea44191db5435ae3761a4f23bd617e67
parent 235744 01c391020298b7df8dcae994af2a2eea5259f7a4
child 235749 b3ba8b07949708e34cf32e46593527a07b7dbfc9
push id623
push userCallek@gmail.com
push dateTue, 13 Jan 2015 02:09:23 +0000
treeherdermozilla-release@601f9d329a5f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersgps, lsblakk
bugs1110760
milestone35.0
Bug 1110760 - Followup to avoid build failure with Windows SDK v7.0 and v7.0A. r=gps a=lsblakk Also normalize multiple occurrences of path separators.
security/sandbox/win/wow_helper/Makefile.in
--- a/security/sandbox/win/wow_helper/Makefile.in
+++ b/security/sandbox/win/wow_helper/Makefile.in
@@ -25,17 +25,17 @@ CXX = $(call lazy,CXX,"$$(subst amd64_x8
 
 MOZ_WINCONSOLE = 0
 
 include $(topsrcdir)/config/config.mk
 
 # Munge the LIB variable to contain paths to the x64 CRT and system libraries.
 # Unconveniently, none of the paths have the same convention, including the
 # compiler path above.
-LIB = $(call lazy,LIB,$$(shell python -c 'import os; print ";".join(s.lower().replace(os.sep, "/").replace("/vc/lib", "/vc/lib/amd64").replace("/um/x86", "/um/x64") for s in os.environ["LIB"].split(";"))'))
+LIB = $(call lazy,LIB,$$(shell python -c 'import os, re; print ";".join(re.sub("/+", "/", s.lower().replace(os.sep, "/")).replace("/vc/lib", "/vc/lib/amd64").replace("/um/x86", "/um/x64").replace("v7.0/lib", "v7.0/lib/x64").replace("v7.0a/lib", "v7.0a/lib/x64") for s in os.environ["LIB"].split(";"))'))
 
 CXXFLAGS := $(filter-out -arch:IA32,$(CXXFLAGS))
 
 # OS_COMPILE_CXXFLAGS includes mozilla-config.h, which contains x86-specific
 # defines breaking the build.
 OS_COMPILE_CXXFLAGS :=
 
 # LNK1246: '/SAFESEH' not compatible with 'x64' target machine