Bug 937035 - SeaMonkey/Thunderbird require at least GLIBCXX_3.4.9 although it should only require 3.4.8 as maximum, link executable to compat library, r=jcranmer, a=Standard8
authorFrank Wein <mcsmurf@mcsmurf.de>
Mon, 24 Feb 2014 22:57:44 +0100
changeset 17024 1ac8ffefb3460d0f0017d5f6383515e47c4bb764
parent 17023 72624775fa40928aa6d670a953327a516ed8db3a
child 17025 14e26bcb0f420a89797d2aa13470b4be21f2b9ce
push id1086
push usermcsmurf@mcsmurf.de
push dateMon, 24 Feb 2014 21:58:48 +0000
treeherdercomm-beta@1ac8ffefb346 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjcranmer, Standard8
bugs937035
Bug 937035 - SeaMonkey/Thunderbird require at least GLIBCXX_3.4.9 although it should only require 3.4.8 as maximum, link executable to compat library, r=jcranmer, a=Standard8 CLOSED TREE
config/config.mk
--- a/config/config.mk
+++ b/config/config.mk
@@ -786,16 +786,25 @@ EXPAND_MOZLIBNAME = $(foreach lib,$(1),$
 
 # Include internal ply only if needed
 ifndef MOZ_SYSTEM_PLY
 PLY_INCLUDE = -I$(MOZILLA_DIR)/other-licenses/ply
 endif
  
 export CL_INCLUDES_PREFIX
 
+ifneq (,$(MOZ_LIBSTDCXX_TARGET_VERSION)$(MOZ_LIBSTDCXX_HOST_VERSION))
+ifdef MOZ_LIBSTDCXX_TARGET_VERSION
+EXTRA_LIBS += $(call EXPAND_LIBNAME_PATH,stdc++compat,$(DEPTH)/mozilla/build/unix/stdc++compat)
+endif
+ifdef MOZ_LIBSTDCXX_HOST_VERSION
+HOST_EXTRA_LIBS += $(call EXPAND_LIBNAME_PATH,host_stdc++compat,$(DEPTH)/mozilla/build/unix/stdc++compat)
+endif
+endif
+
 # autoconf.mk sets OBJ_SUFFIX to an error to avoid use before including
 # this file
 OBJ_SUFFIX := $(_OBJ_SUFFIX)
 
 DEFINES += -DNO_NSPR_10_SUPPORT
 
 # Run a named Python build action. The first argument is the name of the build
 # action. The second argument are the arguments to pass to the action (space