From 177e47952af794bc503835bf66c87bea282c9bc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Mon, 22 May 2017 04:39:24 +0000 Subject: [PATCH] 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 file changed, 7 insertions(+) diff --git a/configure.ac b/configure.ac index 043692537..883b74ac4 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