mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 00:06:24 +01:00
meson: also build gi-dump-types on Windows
This commit is contained in:
parent
1b5c989202
commit
06c8219cee
@ -1,6 +1,7 @@
|
||||
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||
#include "gdump.c"
|
||||
#ifdef G_OS_WIN32
|
||||
#include <windows.h>
|
||||
#include <io.h> /* For _get_osfhandle() */
|
||||
#include <gio/gwin32outputstream.h>
|
||||
#else
|
||||
|
@ -204,7 +204,7 @@ gthash_test = executable('gthash-test', 'gthash-test.c',
|
||||
|
||||
test('gthash-test', gthash_test)
|
||||
|
||||
if giounix_dep.found()
|
||||
if giounix_dep.found() or giowin_dep.found()
|
||||
executable('gi-dump-types', 'gi-dump-types.c',
|
||||
dependencies: [girepo_dep, giounix_dep])
|
||||
dependencies: [girepo_dep, giounix_dep, giowin_dep])
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user