[Webkit-unassigned] [Bug 91229] [Qt] MSVC: unresolved external symbol __DllMainCRTStartup at 12
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jul 15 23:38:38 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=91229
--- Comment #2 from Simon Hausmann <hausmann at webkit.org> 2012-07-15 23:38:38 PST ---
I think I found the reason. From win32/default_post.prf:
----
# When creating the target DLL, extract exporting linker directives from
# all static libraries we're linking into the DLL and make sure they are
# also exported from the DLL.
shared:contains(TEMPLATE, lib) {
for(target, POST_TARGETDEPS) {
libdep = $$find(target, .*\\.lib)
exists($$libdep): LIBSWITHEXPORTS += $$libdep
}
}
!isEmpty(LIBSWITHEXPORTS) {
exportgen.input = LIBSWITHEXPORTS
[...]
}
----
When the makefiles are generated the first time, the POST_TARGETDEPS are set correctly, but the exists() check prevents the population of LIBSWITHEXPORTS. Therefore the extra compiler is not set up and SOURCES remains empty.
--
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