Show
Ignore:
Timestamp:
10/07/08 19:48:46 (3 months ago)
Author:
mattn
Message:

does not work on win32.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/cplusplus/llv8call/trunk/ext/mysql/SConscript

    r20031 r20916  
     1import platform 
     2 
    13Import("env") 
    24Import("conf") 
    35 
    4 if conf.CheckLib('mysqlclient'): 
    5     env.SharedLibrary( 
    6         "mysql", 
    7         ['mysql.cc'], 
    8         LIBS=['v8', 'mysqlclient'], 
    9     ) 
     6if not platform.system() == 'Windows': 
     7    if conf.CheckLib('mysqlclient'): 
     8        env.SharedLibrary( 
     9            "mysql", 
     10            ['mysql.cc'], 
     11            LIBS=['v8', 'mysqlclient'], 
     12        ) 
     13else: 
     14    if conf.CheckLib('mysqlclient'): 
     15        env.SharedLibrary( 
     16            "mysql", 
     17            ['mysql.cc'], 
     18            LIBS=['v8', 'mysqlclient', 'ws2_32', 'advapi32'], 
     19        )