mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-23 10:27:51 +02:00
meson: fix static build under Windows
Properly define GLIB/GOBJECT_STATIC_COMPILATION when static build is enabled. Use library() instead of shared_library() to allow selecting static builds. https://bugzilla.gnome.org/show_bug.cgi?id=784995
This commit is contained in:
committed by
Christoph Reiter
parent
aa7c5cbdcb
commit
cf93b27ceb
@@ -12,7 +12,7 @@ if host_system == 'windows'
|
||||
gthread_sources += [gthread_win_res]
|
||||
endif
|
||||
|
||||
libgthread = shared_library('gthread-2.0',
|
||||
libgthread = library('gthread-2.0',
|
||||
sources : gthread_sources,
|
||||
version : library_version,
|
||||
soversion : soversion,
|
||||
|
Reference in New Issue
Block a user