[gtk-doc/win-no-msys: 18/21] gtkdoc/meson.build: Set EXEEXT properly




commit 965fe02abe6074aab36b7f8a30c4c7e55f970da8
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Thu Apr 16 15:37:42 2020 +0800

    gtkdoc/meson.build: Set EXEEXT properly
    
    On windows, we need to set it as .exe

 gtkdoc/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtkdoc/meson.build b/gtkdoc/meson.build
index 0dfb825e..7c1237bb 100644
--- a/gtkdoc/meson.build
+++ b/gtkdoc/meson.build
@@ -9,7 +9,7 @@ config_py.set('PKG_CONFIG', pkgconfig_prg_path)
 config_py.set('XSLTPROC', xsltproc_prg_path)
 
 config_py.set('VERSION', version)
-config_py.set('EXEEXT', '')
+config_py.set('EXEEXT', host_machine.system() == 'windows' ? '.exe' : '')
 
 configure_file(
   input: 'config_data.py.in',


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]