summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2022-12-07 17:06:02 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2022-12-07 17:06:02 +0800
commit0674e3d56fce3ef32174540cfe990d00f16a0ce1 (patch)
treeb62e0fd5dcff0a81b05e05dae95b8c425925ecaa
parent69261e52a77ec41065685430248b17641264e737 (diff)
downloadlibrest-msvc.tar.gz
build: Don't build gitlab-oauth2-example on Windowsmsvc
It needs to be ported for Windows, since it uses POSIX getline().
-rw-r--r--examples/meson.build5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/meson.build b/examples/meson.build
index 34c8f33..8d4a532 100644
--- a/examples/meson.build
+++ b/examples/meson.build
@@ -4,9 +4,12 @@ example_names = [
'dump-xml',
'get-flickr-favorites',
'lastfm-shout',
- 'gitlab-oauth2-example',
]
+if host_machine.system() != 'windows'
+ example_names += 'gitlab-oauth2-example'
+endif
+
example_deps = [
glib_dep,
libsoup_dep,