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',
9 configuration: glibconfig_conf,
11 gthread_win_res = windows.compile_resources(gthread_win_rc)
12 gthread_sources += [gthread_win_res]
15 libgthread = library('gthread-2.0',
16 sources : gthread_sources,
17 version : library_version,
18 soversion : soversion,
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',
31 description : 'Thread support for GLib',