mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-06-14 08:33:48 +02: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; -*- */
|
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
|
||||||
#include "gdump.c"
|
#include "gdump.c"
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
|
#include <windows.h>
|
||||||
#include <io.h> /* For _get_osfhandle() */
|
#include <io.h> /* For _get_osfhandle() */
|
||||||
#include <gio/gwin32outputstream.h>
|
#include <gio/gwin32outputstream.h>
|
||||||
#else
|
#else
|
||||||
|
@ -204,7 +204,7 @@ gthash_test = executable('gthash-test', 'gthash-test.c',
|
|||||||
|
|
||||||
test('gthash-test', gthash_test)
|
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',
|
executable('gi-dump-types', 'gi-dump-types.c',
|
||||||
dependencies: [girepo_dep, giounix_dep])
|
dependencies: [girepo_dep, giounix_dep, giowin_dep])
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user