--- gtk-doc-1.33.0/gtkdoc/meson.build.orig	2020-10-01 21:19:36.163794500 +0200
+++ gtk-doc-1.33.0/gtkdoc/meson.build	2020-10-02 11:04:43.478778000 +0200
@@ -9,7 +9,12 @@
 config_py.set('XSLTPROC', xsltproc_prg_path)
 
 config_py.set('VERSION', version)
-config_py.set('EXEEXT', '')
+
+if host_machine.system() == 'windows'
+  config_py.set('EXEEXT', '.exe')
+else
+  config_py.set('EXEEXT', '')
+endif
 
 configure_file(
   input: 'config_data.py.in',
