diff options
| author | mniip <mniip@mniip.com> | 2013-05-02 18:41:01 (GMT) |
|---|---|---|
| committer | mniip <mniip@mniip.com> | 2013-05-02 18:41:01 (GMT) |
| commit | e7b29ab9b5e037a8896c62f0473cae8d353d5114 (patch) | |
| tree | 503fc881969e57cb521fbf551fcede513c1f12fe /SConscript | |
| parent | 2eaed9c9d478292f18d8a6aea9d2c9c869b26911 (diff) | |
| download | powder-e7b29ab9b5e037a8896c62f0473cae8d353d5114.zip powder-e7b29ab9b5e037a8896c62f0473cae8d353d5114.tar.gz | |
statically linked, or better to say, builtin luasocket
Diffstat (limited to 'SConscript')
| -rwxr-xr-x | SConscript | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -267,6 +267,12 @@ sources+=Glob("src/gui/*/*.cpp") sources+=Glob("src/simulation/elements/*.cpp") sources+=Glob("src/simulation/tools/*.cpp") sources+=Glob("src/client/requestbroker/*.cpp") +sources+=["src/socket/auxiliar.c","src/socket/buffer.c","src/socket/except.c","src/socket/inet.c","src/socket/io.c","src/socket/luasocket.c","src/socket/options.c","src/socket/select.c","src/socket/tcp.c","src/socket/timeout.c","src/socket/udp.c"] +# looks better than lambdaing files out later +if(GetOption('win')): + sources+=["src/socket/wsocket.c"] +else: + sources+=["src/socket/usocket.c","src/socket/unix.c"] #for source in sources: # print str(source) |
