mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
lib/util: use better linux os detection in gpfs configure
Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Christof Schmitt cs@samba.org Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Tue Jan 28 18:05:34 UTC 2020 on sn-devel-184
This commit is contained in:
parent
ea754bfdec
commit
620987449c
@ -158,7 +158,7 @@ else:
|
||||
Logs.info('Using gpfs.h from installed gpfs package.')
|
||||
conf.DEFINE('HAVE_GPFS', '1')
|
||||
else:
|
||||
if sys.platform=="linux":
|
||||
if sys.platform.startswith('linux'):
|
||||
conf.env['CPPPATH_GPFS'] = os.path.abspath("third_party/gpfs")
|
||||
if conf.CHECK_HEADERS('gpfs.h', False, False, "gpfs"):
|
||||
Logs.info('Using gpfs.h from third_party directory.')
|
||||
|
Loading…
x
Reference in New Issue
Block a user