diff options
author | Günther Deschner <gd@samba.org> | 2020-01-27 21:39:20 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2020-01-28 18:05:34 +0000 |
commit | 620987449cc5d9255cdba4bbdb50735bfa2b969e (patch) | |
tree | 4ef34cd3b7cbe18c8f8899c5972ae1733388bc8d /lib | |
parent | ea754bfdec9d537c500036d4d521bd41d34c0835 (diff) | |
download | samba-620987449cc5d9255cdba4bbdb50735bfa2b969e.tar.gz |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/util/wscript_configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/wscript_configure b/lib/util/wscript_configure index 4f57184f515..d4450d25b98 100644 --- a/lib/util/wscript_configure +++ b/lib/util/wscript_configure @@ -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.') |