mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +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
@@ -724,7 +724,7 @@ else
|
||||
gio_dtrace_hdr = []
|
||||
endif
|
||||
|
||||
libgio = shared_library('gio-2.0',
|
||||
libgio = library('gio-2.0',
|
||||
gioenumtypes_h, gioenumtypes_c, gnetworking_h, gio_sources,
|
||||
gio_dtrace_hdr, gio_dtrace_obj,
|
||||
version : library_version,
|
||||
|
Reference in New Issue
Block a user