[mutter] configure.ac: explicitly set link_all_deplibs=yes
- From: Marco Trevisan <marcotrevi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] configure.ac: explicitly set link_all_deplibs=yes
- Date: Mon, 22 May 2017 06:19:06 +0000 (UTC)
commit 177e47952af794bc503835bf66c87bea282c9bc9
Author: Marco Trevisan (TreviƱo) <mail 3v1n0 net>
Date: Mon May 22 04:39:24 2017 +0000
configure.ac: explicitly set link_all_deplibs=yes
Some distros such as Ubuntu and Debian set it to 'no',
while others might keep it to 'unknown' (which defaults to
'yes'). And this causes troubles when linking with mutter-clutter
in some tests.
https://bugzilla.gnome.org/show_bug.cgi?id=782821
configure.ac | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0436925..883b74a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -57,6 +57,13 @@ AM_GNU_GETTEXT([external])
LT_PREREQ([2.2.6])
LT_INIT([disable-static])
+
+# Debian / Ubuntu set this flag to 'no' in libtool, causing linking errors
+# (i.e when linking against mutter-clutter). Not to explicitly redefine such
+# deps, we enable this flag for everybody.
+link_all_deplibs=yes
+link_all_deplibs_CXX=yes
+
AC_PROG_CC
AC_PROG_CC_C_O
AC_PROG_INSTALL
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]