RESOLVED FIXED 23821
[GTK] On win, PluginMessageWin* and PluginMessageThrottlerWin need to be built too
https://bugs.webkit.org/show_bug.cgi?id=23821
Summary [GTK] On win, PluginMessageWin* and PluginMessageThrottlerWin need to be buil...
Adrien Nader
Reported 2009-02-07 08:15:53 PST
WebCore/{PluginDatabaseWin.cpp, PluginDatabaseWin.h, PluginMessageThrottlerWin.cpp, PluginMessageThrottlerWin.h} need to be built too when building webkit-gtk for windows.
Attachments
Conditionaly add PluginDatabaseWin.{h, cpp} and PluginMessageThrottlerWin.{h, cpp} to webcoregtk_source in WebCore/GNUmakefile.am (997 bytes, patch)
2009-02-07 08:19 PST, Adrien Nader
zecke: review-
Adrien Nader
Comment 1 2009-02-07 08:19:56 PST
Created attachment 27449 [details] Conditionaly add PluginDatabaseWin.{h, cpp} and PluginMessageThrottlerWin.{h, cpp} to webcoregtk_source in WebCore/GNUmakefile.am Conditionaly add PluginDatabaseWin.{h, cpp} and PluginMessageThrottlerWin.{h, cpp} to webcoregtk_source in WebCore/GNUmakefile.am. Sorry for the lack of changelog, I'm mostly preoccupied with the patch being correct.
Holger Freyther
Comment 2 2009-02-08 11:55:35 PST
Comment on attachment 27449 [details] Conditionaly add PluginDatabaseWin.{h, cpp} and PluginMessageThrottlerWin.{h, cpp} to webcoregtk_source in WebCore/GNUmakefile.am Please see http://webkit.org/coding/contributing.html and follow step four and attach a patch with a changelog entry. thanks
Holger Freyther
Comment 3 2009-02-09 13:01:49 PST
The patch is even not correct. it _sources and not _source... and you will get duplicated symbols because PluginDatabase.cpp and PluginDatabaseWin.cpp will be compiled.
Adrien Nader
Comment 4 2009-02-09 13:57:54 PST
Holger, oh right, I actually some other patch which was : -webcoregtk_source += \ +webcoregtk_sources += \ =/ As for the duplicated symbols, thanks for pointing that out, I had completely missed them. Grasping all the details of a build system is hard.
Adrien Nader
Comment 5 2009-02-13 07:50:10 PST
Trying to solve the duplicated symbols problem made me compare PluginDatabase.cpp and win/PluginDatabaseWin.cpp. There are several windows-specific functions which are duplicated accross both files (inside an #ifdef/#endif pair if inside PluginDatabase.cpp). Should they be reunified ? Maybe partially ? If so should windows-specific functions be moved to PluginDatabaseWin.cpp or be inside PluginDatabase.cpp and only conditionnally compiled ?
Jan Alonzo
Comment 6 2009-07-17 16:32:59 PDT
This seems fixed already.
Note You need to log in before you can comment on or make changes to this bug.