Changeset 44184 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
May 27, 2009, 5:04:33 AM (16 years ago)
Author:
[email protected]
Message:

2009-05-27 Fridrich Strba <[email protected]>

Reviewed by Maciej Stachowiak.

When building with MinGW, don't use the declspec(dl{import,export})
decorations and rely on the linker to use its nifty auto-import feature.
It is extremely hard to get the decorations right with MinGW in general
and impossible in WebKit, where the resulting shared library is linking
together some static libraries.

Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r44183 r44184  
     12009-05-27  Fridrich Strba  <[email protected]>
     2
     3        Reviewed by Maciej Stachowiak.
     4
     5        When building with MinGW, don't use the __declspec(dl{import,export})
     6        decorations and rely on the linker to use its nifty auto-import feature.
     7        It is extremely hard to get the decorations right with MinGW in general
     8        and impossible in WebKit, where the resulting shared library is linking
     9        together some static libraries.
     10
     11        * config.h:
     12
    1132009-05-26  Holger Hans Peter Freyther  <[email protected]>
    214
  • trunk/JavaScriptCore/config.h

    r42980 r44184  
    2626#include <wtf/Platform.h>
    2727
    28 #if PLATFORM(WIN_OS) && !defined(BUILDING_WX__)
     28#if PLATFORM(WIN_OS) && !defined(BUILDING_WX__) && !COMPILER(GCC)
    2929#if defined(BUILDING_JavaScriptCore) || defined(BUILDING_WTF)
    3030#define JS_EXPORTDATA __declspec(dllexport)
Note: See TracChangeset for help on using the changeset viewer.