[yelp/wip/amigadave/webkit2-port: 24/24] Force libyelpcommon to be installed before libyelp
- From: David King <davidk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp/wip/amigadave/webkit2-port: 24/24] Force libyelpcommon to be installed before libyelp
- Date: Mon, 16 Feb 2015 21:00:53 +0000 (UTC)
commit ca85410e309b30b7664b8c0a269fbc7cabb27d98
Author: David King <amigadave amigadave com>
Date: Mon Feb 16 20:53:36 2015 +0000
Force libyelpcommon to be installed before libyelp
Libtool (specifically the Automake rules) has an unfortunate problem
that it does not guarantee the install order of libraries if two
Makefile variables are used, such as in the case of pkglib_LTLIBRARIES
and lib_LTLIBRARIES. As libyelpcommon is a depdency of libyelp, it must
be installed first. Force this by adding a dependency on
install-pkglibLTLIBRARIES.
libyelp/Makefile.am | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/libyelp/Makefile.am b/libyelp/Makefile.am
index ec37d29..4557c51 100644
--- a/libyelp/Makefile.am
+++ b/libyelp/Makefile.am
@@ -1,3 +1,8 @@
+# Libtool is utterly broken when it comes to ordering library dependencies.
+# Hack around this awfulness: https://lists.gnu.org/archive/html/libtool/2004-10/msg00051.html
+# As libyelp depends on libyelpcommon, force libyelpcommon to be installed
+# first.
+install-libLTLIBRARIES: install-pkglibLTLIBRARIES
pkglib_LTLIBRARIES = libyelpcommon.la
libyelpcommon_la_SOURCES = \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]