[glib: 1/2] gio: Link inotify file monitor to GLib and GObject
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/2] gio: Link inotify file monitor to GLib and GObject
- Date: Mon, 9 Jul 2018 11:17:42 +0000 (UTC)
commit 9d6a69b73ee2b9203757c3f1899252725e7afeec
Author: Philip Withnall <withnall endlessm com>
Date: Mon Jul 9 10:38:04 2018 +0100
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
gio/inotify/Makefile.am | 4 ++++
gio/inotify/meson.build | 2 +-
2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/gio/inotify/Makefile.am b/gio/inotify/Makefile.am
index 8b4b3ae18..6dd9136b4 100644
--- a/gio/inotify/Makefile.am
+++ b/gio/inotify/Makefile.am
@@ -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)
\ No newline at end of file
diff --git a/gio/inotify/meson.build b/gio/inotify/meson.build
index 1fa8e0464..8183f141e 100644
--- a/gio/inotify/meson.build
+++ b/gio/inotify/meson.build
@@ -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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]