summaryrefslogtreecommitdiff
path: root/Source/WebCore/platform/graphics/chromium/cc/CCResourceProvider.h
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-23 09:29:21 +0200
commit1de6cd4794bbd5a52189384189a2b8df1848b39b (patch)
tree7b0c8b68b7230f7aff88a11c246319c63c012c67 /Source/WebCore/platform/graphics/chromium/cc/CCResourceProvider.h
parentb784c69d562e1cce5057f5232320983df585e12a (diff)
downloadqtwebkit-1de6cd4794bbd5a52189384189a2b8df1848b39b.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/platform/graphics/chromium/cc/CCResourceProvider.h')
0 files changed, 0 insertions, 0 deletions