[babl] Remove os_win32
- From: Félix Piédallu <fpiedallu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] Remove os_win32
- Date: Fri, 2 Feb 2018 15:41:53 +0000 (UTC)
commit 176ce51c8798de2c88ea847b00830c9fb12d6a4d
Author: Félix Piédallu <felix piedallu me>
Date: Thu Jan 11 21:25:50 2018 +0100
Remove os_win32
meson.build | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/meson.build b/meson.build
index 8c91b73..e1c818b 100644
--- a/meson.build
+++ b/meson.build
@@ -95,9 +95,7 @@ endif
host_os = host_machine.system()
message('Host os: ' + host_os)
-platform_win32 = (host_os.startswith('mingw') or host_os.startswith('cygwin'))
-# Is this native win32
-os_win32 = host_os.startswith('mingw')
+platform_win32 = host_os.startswith('mingw') or host_os.startswith('cygwin') or host_os.startswith('windows')
platform_osx = host_os.startswith('darwin')
if platform_osx
@@ -108,8 +106,8 @@ endif
platform_android = host_os.contains('android')
-path_sep = ( os_win32 ? ';' : ':' )
-dirs_sep = ( os_win32 ? '\\' : '/' )
+path_sep = ( platform_win32 ? ';' : ':' )
+dirs_sep = ( platform_win32 ? '\\' : '/' )
conf.set('BABL_PATH_SEPARATOR', '\'' + path_sep + '\'')
conf.set_quoted('BABL_DIR_SEPARATOR', dirs_sep)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]