s3-waf: try to fix the build on sunos5.
authorGünther Deschner <gd@samba.org>
Thu, 21 Apr 2011 22:49:54 +0000 (00:49 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 21 Apr 2011 22:49:54 +0000 (00:49 +0200)
Guenther

source3/wscript

index fa51983bc640e8c32dd0d62cd69798af73aee917..49f11f2e5b2393d401b6333efdf9a8b7a74737fd 100644 (file)
@@ -334,6 +334,8 @@ utimensat vsyslog _write __write __xstat
         conf.DEFINE('STAT_ST_BLOCKSIZE', '512')
     elif (host_os.rfind('openbsd') > -1):
         conf.DEFINE('STAT_ST_BLOCKSIZE', '512')
+    elif (host_os.rfind('sunos') > -1):
+        conf.DEFINE('STAT_ST_BLOCKSIZE', '512')
     # FIXME: Add more checks here.
     else:
         Logs.warn("Unknown host_os '%s', please report this to samba-technical@samba.org" % host_os)