[CMake] Fix build on 64-bit platforms with SHARED_CORE=ON after r109197.
Created attachment 129575 [details]
I was going to commit this directly without filing a bug report, but since svn.webkit.org seems to be down again I figured it would be a good idea to create the bug to make it serve as a heads-up to everyone interested in CMake.
CMake automatically passes -fPIC to the compiler when creating shared libraries, but it doesn't do that for static libs. Since WTF is now always built as a static lib, shared libraries such as JSC failed to link against it on platforms such as x86-64.
Created attachment 129609 [details]
Reference this bug in the ChangeLog
Committed r109295: <http://trac.webkit.org/changeset/109295>