tests: Don’t use a potentially-existent timezone in a test for failure
[glib.git] / gthread / meson.build
blob6b0748f151c6b4cd7ed3058890e9d84985a6da6f
1 # Just a skeleton lib for backwards compatibility since all the functionaliy
2 # has been moved into glib now
4 gthread_sources = ['gthread-impl.c']
5 if host_system == 'windows'
6   gthread_win_rc = configure_file(
7     input: 'gthread.rc.in',
8     output: 'gthread.rc',
9     configuration: glibconfig_conf,
10   )
11   gthread_win_res = windows.compile_resources(gthread_win_rc)
12   gthread_sources += [gthread_win_res]
13 endif
15 libgthread = library('gthread-2.0',
16   sources : gthread_sources,
17   version : library_version,
18   soversion : soversion,
19   install : true,
20   dependencies : [libglib_dep],
21   c_args : ['-DG_LOG_DOMAIN="GThread"' ] + glib_hidden_visibility_args,
22   link_args : glib_link_flags,
25 pkg.generate(libraries : [libgthread, thread_dep],
26   requires : ['glib-2.0'],
27   version : glib_version,
28   install_dir : glib_pkgconfigreldir,
29   filebase : 'gthread-2.0',
30   name : 'GThread',
31   description : 'Thread support for GLib',