root/lang/cplusplus/llv8call/trunk/ext/uuid/SConscript @ 21634

Revision 21634, 256 bytes (checked in by tokuhirom, 5 years ago)

fixed compilation bugs in osx

Line 
1import platform
2
3Import("env")
4Import("conf")
5
6if conf.CheckHeader('uuid/uuid.h'):
7    libs = env['LIBS']
8    if conf.CheckLib('uuid'):
9        libs.Append('uuid')
10    env.SharedLibrary(
11        "uuid",
12        ['uuid.cc'],
13        LIBS=libs+['v8']
14    )
15
Note: See TracBrowser for help on using the browser.