Bug 717224 - Misc libraries fail to link on mingw due to missing -luserenv r=bbondy
authorJacek Caban <jacek@codeweavers.com>
Fri, 13 Jan 2012 13:50:55 +0100
changeset 84396 d13c738c54ce627f0091580a5825f037c9652a83
parent 84395 157c86d30692cd09b572cf03628e1439f9544963
child 84397 6f3285fc0d028e3cd8bf84f1e570d9692a21c708
push id4879
push userjacek@codeweavers.com
push dateFri, 13 Jan 2012 12:56:04 +0000
treeherdermozilla-inbound@6f3285fc0d02 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbbondy
bugs717224
milestone12.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 717224 - Misc libraries fail to link on mingw due to missing -luserenv r=bbondy
configure.in
--- a/configure.in
+++ b/configure.in
@@ -2531,17 +2531,17 @@ ia64*-hpux*)
         CXXFLAGS="$CXXFLAGS -mms-bitfields"
         DSO_LDOPTS='-shared'
         MKSHLIB='$(CXX) $(DSO_LDOPTS) -o $@'
         MKCSHLIB='$(CC) $(DSO_LDOPTS) -o $@'
         RC='$(WINDRES)'
         # Use temp file for windres (bug 213281)
         RCFLAGS='-O coff --use-temp-file'
         # mingw doesn't require kernel32, user32, and advapi32 explicitly
-        LIBS="$LIBS -luuid -lgdi32 -lwinmm -lwsock32"
+        LIBS="$LIBS -luuid -lgdi32 -lwinmm -lwsock32 -luserenv"
         MOZ_FIX_LINK_PATHS=
         DYNAMIC_XPCOM_LIBS='-L$(LIBXUL_DIST)/lib -lxpcom -lxpcom_core -lmozalloc'
         XPCOM_FROZEN_LDOPTS='-L$(LIBXUL_DIST)/lib -lxpcom -lmozalloc'
         DLL_PREFIX=
         IMPORT_LIB_SUFFIX=dll.a
         GCC_VERSION=`$CC -v 2>&1 | awk '/^gcc version/ { print $3 }'`
     else
         TARGET_COMPILER_ABI=msvc