[Webkit-unassigned] [Bug 88321] [Qt][Win] Fix broken QtWebKit5.lib linking
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 8 10:22:43 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=88321
Balazs Kelemen <kbalazs at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kbalazs at webkit.org
--- Comment #3 from Balazs Kelemen <kbalazs at webkit.org> 2012-06-08 10:22:42 PST ---
I believe the problem is caused by cross-lib dependencies and culprit is this:
functions.prf: defineTest(linkAgainstLibrary)
mac {
LIBS += -Wl,-force_load,$${path}$${QMAKE_DIR_SEP}lib$${target}.a
} else:win32-msvc*|wince*|win32-icc {
LIBS += /OPT:REF -l$$target
} else {
LIBS += -Wl,-whole-archive -l$$target -Wl,-no-whole-archive
}
Seems to me that for win we don't specify that we need the whole static library. I guess the force_static_libs_as_shared CONFIG switch would fix the build, but it's not for production builds. We need the appropriate linker option for MSVC.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list