diff options
| author | Ian Wilson <ian.a.wilson@rochester.edu> | 2011-09-08 19:41:53 -0400 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-09-12 00:16:31 +0200 |
| commit | 5dd2d189ada193841285d8c19ff998de9f1574d2 (patch) | |
| tree | c7b73815241b358881f93e1020cf814127cfd96e /bam.lua | |
| parent | ac929c036598bfd94c28b57cd924d66647512513 (diff) | |
| download | zcatch-5dd2d189ada193841285d8c19ff998de9f1574d2.tar.gz zcatch-5dd2d189ada193841285d8c19ff998de9f1574d2.zip | |
Fixes for compiling with Solaris kernel.
Fixed typo in CONF_PLATFORM_SOLARIS. Made sure that we don't try to use the gcc endianness for Solaris. Included sys/filio.h for Solaris so that FIONBIO is defined. Added linking flags -lsocket and -lnsl for Solaris in bam.
Diffstat (limited to 'bam.lua')
| -rw-r--r-- | bam.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bam.lua b/bam.lua index 5816a26d..46cc18dd 100644 --- a/bam.lua +++ b/bam.lua @@ -159,6 +159,11 @@ function build(settings) else settings.link.libs:Add("pthread") end + + if platform == "solaris" then + settings.link.flags:Add("-lsocket") + settings.link.flags:Add("-lnsl") + end elseif family == "windows" then settings.link.libs:Add("gdi32") settings.link.libs:Add("user32") |