summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLFrameElementBase.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-07-16 14:54:25 +0200
committerSimon Hausmann <simon.hausmann@nokia.com>2012-07-18 14:00:44 +0200
commitb4ad5d9d2b96baacd0180ead50de5195ca78af2d (patch)
treeb80478e0874813a0b4b861d6a61eb91450ad52af /Source/WebCore/html/HTMLFrameElementBase.cpp
parentccc997a8b47e2d0bd7afb467c11f20fb8eed5c73 (diff)
downloadqtwebkit-b4ad5d9d2b96baacd0180ead50de5195ca78af2d.tar.gz
[Qt] MSVC: unresolved external symbol __DllMainCRTStartup@12
https://bugs.webkit.org/show_bug.cgi?id=91229 Reviewed by NOBODY (OOPS!). In order to successfully link a DLL on Windows we need to have at least one object file (or compilation unit). The forward export header files were supposed to be that, but unfortunately the rule in win32/default_post.prf for creating the header files had some bugs, among others that it did an exists() check on the depending static library. At the time qmake is ran those libraries do not exist yet and therefore the corresponding extra compiler rules were never created, resulting in empty OBJECTS/SOURCES. Even without such an exists() check, qmake extra compilers require the files referred to in the .input variable to exist at qmake time. In this case the input files were the static libraries, which do not exist yet. This patch solves this by using a qmake extra target instead of extra compiler, which does not have this limitation. The target is referenced through the extension of GENERATED_SOURCES. The patch also adds a d/_debug suffix for debug builds, do allow for separate symbol exports if necessary. * Scripts/generate-win32-export-forwards: Support multiple input files, i.e. consider the last argument to be the output file and everything else input. * qmake/mkspecs/features/win32/default_post.prf:
Diffstat (limited to 'Source/WebCore/html/HTMLFrameElementBase.cpp')
0 files changed, 0 insertions, 0 deletions