]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
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)
committerKarolin Seeger <kseeger@samba.org>
Tue, 26 Apr 2011 18:11:50 +0000 (20:11 +0200)
Guenther
(cherry picked from commit 0e003515703469e9f66f5119d401366697cdb767)
(cherry picked from commit 47a442c221024d5b18a61ce1c4c3b6bfd8c2fa6e)

source3/wscript

index 7ebb8aa0d50e8d422e1ac4234db7e6c9cd2f8cd9..3b153130e1e35963f24171e10e7a12fdb6d37c9f 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)