From 620987449cc5d9255cdba4bbdb50735bfa2b969e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnther=20Deschner?= Date: Mon, 27 Jan 2020 21:39:20 +0100 Subject: lib/util: use better linux os detection in gpfs configure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Guenther Signed-off-by: Guenther Deschner Reviewed-by: Christof Schmitt cs@samba.org Autobuild-User(master): Günther Deschner Autobuild-Date(master): Tue Jan 28 18:05:34 UTC 2020 on sn-devel-184 --- lib/util/wscript_configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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.') -- cgit v1.2.1