[glib] gio: Link against gmodule when building tools
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gio: Link against gmodule when building tools
- Date: Tue, 1 Sep 2015 14:40:42 +0000 (UTC)
commit b04c565f33edbe7b81b028ba371da93b946f6393
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Aug 19 13:47:58 2015 +0100
gio: Link against gmodule when building tools
Otherwise cross-compilation will fail with linker errors.
https://bugzilla.gnome.org/show_bug.cgi?id=753745
gio/Makefile.am | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gio/Makefile.am b/gio/Makefile.am
index ae368b6..04e0ae4 100644
--- a/gio/Makefile.am
+++ b/gio/Makefile.am
@@ -706,6 +706,7 @@ bin_PROGRAMS = gio-querymodules glib-compile-schemas glib-compile-resources gset
glib_compile_resources_LDADD = libgio-2.0.la \
$(top_builddir)/gobject/libgobject-2.0.la \
+ $(top_builddir)/gmodule/libgmodule-2.0.la \
$(top_builddir)/glib/libglib-2.0.la \
$(NULL)
@@ -735,6 +736,7 @@ glib_compile_schemas_SOURCES = \
gsettings_LDADD = libgio-2.0.la \
$(top_builddir)/gobject/libgobject-2.0.la \
+ $(top_builddir)/gmodule/libgmodule-2.0.la \
$(top_builddir)/glib/libglib-2.0.la \
$(NULL)
gsettings_SOURCES = gsettings-tool.c
@@ -749,6 +751,7 @@ bin_PROGRAMS += gdbus
gdbus_SOURCES = gdbus-tool.c
gdbus_LDADD = libgio-2.0.la \
$(top_builddir)/gobject/libgobject-2.0.la \
+ $(top_builddir)/gmodule/libgmodule-2.0.la \
$(top_builddir)/glib/libglib-2.0.la \
$(NULL)
@@ -759,6 +762,7 @@ bin_PROGRAMS += gapplication
gapplication_SOURCES = gapplication-tool.c
gapplication_LDADD = libgio-2.0.la \
$(top_builddir)/gobject/libgobject-2.0.la \
+ $(top_builddir)/gmodule/libgmodule-2.0.la \
$(top_builddir)/glib/libglib-2.0.la \
$(NULL)
endif
@@ -779,6 +783,7 @@ gresource_SOURCES = gresource-tool.c
gresource_CPPFLAGS = $(LIBELF_CFLAGS) $(AM_CPPFLAGS)
gresource_LDADD = libgio-2.0.la \
$(top_builddir)/gobject/libgobject-2.0.la \
+ $(top_builddir)/gmodule/libgmodule-2.0.la \
$(top_builddir)/glib/libglib-2.0.la \
$(LIBELF_LIBS)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]