Bug 529327 - Undefined references to IID_* symbols on mingw, r=ted
authorJacek Caban <jacek@codeweavers.com>
Sun, 13 Dec 2009 09:44:15 -0800
changeset 35675 c5d0457346b6d4214d53dacf054d62ef2dd23f8b
parent 35674 479d37add351cc404c72dd7c908e85c1046b3ae6
child 35676 929bce835cdb6f1ebe497d35923dce3a44738f61
push id10673
push userphilringnalda@gmail.com
push dateSun, 13 Dec 2009 17:44:42 +0000
treeherdermozilla-central@b3c1f6691f8e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersted
bugs529327
milestone1.9.3a1pre
Bug 529327 - Undefined references to IID_* symbols on mingw, r=ted
configure.in
--- a/configure.in
+++ b/configure.in
@@ -2142,17 +2142,17 @@ case "$target" in
         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 -lgdi32 -lwinmm -lwsock32"
+        LIBS="$LIBS -luuid -lgdi32 -lwinmm -lwsock32"
         MOZ_JS_LIBS='-L$(LIBXUL_DIST)/lib -lmozjs'
         MOZ_FIX_LINK_PATHS=
         DYNAMIC_XPCOM_LIBS='-L$(LIBXUL_DIST)/lib -lxpcom -lxpcom_core'
         XPCOM_FROZEN_LDOPTS='-L$(LIBXUL_DIST)/lib -lxpcom'
         DLL_PREFIX=
         IMPORT_LIB_SUFFIX=dll.a
     else
         TARGET_COMPILER_ABI=msvc