mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +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
@@ -1,10 +1,10 @@
|
||||
libtestmodulea = shared_library('testmodulea', 'test-module-a.c',
|
||||
libtestmodulea = library('testmodulea', 'test-module-a.c',
|
||||
install : false,
|
||||
dependencies : [libglib_dep, libgobject_dep, libgmodule_dep, libgio_dep],
|
||||
c_args : [ ]
|
||||
)
|
||||
|
||||
libtestmoduleb = shared_library('testmoduleb', 'test-module-b.c',
|
||||
libtestmoduleb = library('testmoduleb', 'test-module-b.c',
|
||||
install : false,
|
||||
dependencies : [libglib_dep, libgobject_dep, libgmodule_dep, libgio_dep],
|
||||
c_args : [ ]
|
||||
|
Reference in New Issue
Block a user