mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-23 22:16:16 +01:00
gio: Link inotify file monitor to GLib and GObject
Apparently this is needed for building PE libraries. It makes no difference on Linux, where linking of the GLib symbols in the inotify file monitor code is done lazily. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://gitlab.gnome.org/GNOME/glib/issues/1201
This commit is contained in:
parent
884c4f4eb6
commit
9d6a69b73e
@ -26,3 +26,7 @@ libinotify_la_CFLAGS = \
|
||||
-DGIO_COMPILATION \
|
||||
-DG_DISABLE_DEPRECATED
|
||||
|
||||
libinotify_la_LIBADD = \
|
||||
$(top_builddir)/glib/libglib-2.0.la \
|
||||
$(top_builddir)/gobject/libgobject-2.0.la \
|
||||
$(NULL)
|
@ -10,6 +10,6 @@ inotify_sources = [
|
||||
inotify_lib = static_library('inotify',
|
||||
sources : inotify_sources,
|
||||
include_directories : [configinc, glibinc, gmoduleinc],
|
||||
dependencies : [gioenumtypes_dep],
|
||||
dependencies : [gioenumtypes_dep, libglib_dep, libgobject_dep],
|
||||
pic : true,
|
||||
c_args : [ '-DG_DISABLE_DEPRECATED' ] + gio_c_args)
|
||||
|
Loading…
Reference in New Issue
Block a user