summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-05-20 10:31:17 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2018-05-22 12:09:50 +0530
commit5ff24813075ea2a746226bf479358811ddd40d05 (patch)
tree68aa54119f8499aa292a8d0ad4f990db3d950238 /config
parent85950cbb16048f85d2ba9c41bbf7136125afe97f (diff)
Port glib and glib-networking recipes to meson
Also, always use gnutls system trust for glib-networking. This is backported from latest master, and we should fix our gnutls config to work with this. Porting it in early so we have some time to deal with this before the next glib-networking stable release. Tested on fedora linux, cross-win32/64, cross-android-universal, darwin, cross-ios-universal, and windows/mingw.
Diffstat (limited to 'config')
-rw-r--r--config/windows.config2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/windows.config b/config/windows.config
index 8da98c06..a099979b 100644
--- a/config/windows.config
+++ b/config/windows.config
@@ -46,7 +46,7 @@ os.environ['OBJCFLAGS'] = '-Wall -g -O2 '
ccache = use_ccache and 'ccache ' or ''
# Toolchain environment
-os.environ['CFLAGS'] += "-DWINVER=0x0501 -D_WIN32_WINNT=0x0501"
+os.environ['CFLAGS'] += "-DWINVER=0x0600 -D_WIN32_WINNT=0x0600"
os.environ['LIBRARY_PATH'] = "{0}/lib{1}".format(prefix, lib_suffix)
os.environ['CXXFLAGS']=os.environ['CFLAGS']
os.environ['CC']= '%s%s' % (ccache, cmd('gcc'))