mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
meson: Use proxy-libintl if gettext is not found
This is a stub-only library that can be used while building against MSVC and contains no i18n machinery at all. The dependencies added indirectly use the libintl.h header, and when built as a subproject, the header won't be in a path known the pre-processor.
This commit is contained in:
committed by
Matthias Clasen
parent
fb1f52e32f
commit
ee94ad776e
@@ -60,7 +60,7 @@ libgobject = shared_library('gobject-2.0',
|
||||
soversion : soversion,
|
||||
install : true,
|
||||
include_directories : [configinc],
|
||||
dependencies : [libffi_dep, libglib_dep],
|
||||
dependencies : [libintl, libffi_dep, libglib_dep],
|
||||
c_args : ['-DG_LOG_DOMAIN="GLib-GObject"', '-DGOBJECT_COMPILATION'] + glib_hidden_visibility_args)
|
||||
|
||||
libgobject_dep = declare_dependency(link_with : libgobject,
|
||||
|
Reference in New Issue
Block a user