mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
ctdb: Fix detection of gnukfreebsd
GNU/kFreeBSD's platform name is 'gnukfreebsd', not just 'kfreebsd'. Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Autobuild-User(master): Garming Sam <garming@samba.org> Autobuild-Date(master): Tue Mar 1 05:42:23 CET 2016 on sn-devel-144
This commit is contained in:
parent
2bd28d23fd
commit
d692020c1a
@ -315,7 +315,7 @@ def build(bld):
|
||||
CTDB_SYSTEM_SRC = bld.SUBDIR('common', 'system_aix.c')
|
||||
elif sys.platform.startswith('freebsd'):
|
||||
CTDB_SYSTEM_SRC = bld.SUBDIR('common', 'system_freebsd.c')
|
||||
elif sys.platform == 'kfreebsd':
|
||||
elif sys.platform.startswith('gnukfreebsd'):
|
||||
CTDB_SYSTEM_SRC = bld.SUBDIR('common', 'system_kfreebsd.c')
|
||||
elif sys.platform == 'gnu':
|
||||
CTDB_SYSTEM_SRC = bld.SUBDIR('common', 'system_gnu.c')
|
||||
|
Loading…
Reference in New Issue
Block a user