[epiphany] Fix failure to load web extension with -Wl,-z,now
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Fix failure to load web extension with -Wl,-z,now
- Date: Wed, 7 Oct 2015 13:23:10 +0000 (UTC)
commit 88dbc322ef6977d67f56c90d66e276eb980cc806
Author: Michael Catanzaro <mcatanzaro igalia com>
Date: Fri Oct 2 10:16:28 2015 -0500
Fix failure to load web extension with -Wl,-z,now
libephymisc.la wasn't linked to its dependencies. This breaks the web
extension in distros that use full RELRO
http://tk-blog.blogspot.co.at/2009/02/relro-not-so-well-known-memory.html
https://bugzilla.gnome.org/show_bug.cgi?id=755814
lib/Makefile.am | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/lib/Makefile.am b/lib/Makefile.am
index df5d07e..24d684b 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -99,7 +99,8 @@ libephymisc_la_CFLAGS = \
libephymisc_la_LIBADD = \
-lm \
- $(CODE_COVERAGE_LDFLAGS)
+ $(CODE_COVERAGE_LDFLAGS) \
+ $(DEPENDENCIES_LIBS)
bin_PROGRAMS = ephy-profile-migrator
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]