aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-devtools/elfutils/elfutils/dso-link-change.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-07 17:00:19 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-07 17:00:29 +0000
commit1383ecbde214764bac0d6923ec8743b4462a377a (patch)
tree0e8ee6ece1266fd6cd88ea17822a3f241215768f /recipes-devtools/elfutils/elfutils/dso-link-change.patch
parent8ba70a1c28a4e0ee73db5308b38abc923b0be44d (diff)
downloadmeta-gplv2-1383ecbde214764bac0d6923ec8743b4462a377a.tar.gz
meta-gplv2-1383ecbde214764bac0d6923ec8743b4462a377a.tar.bz2
meta-gplv2-1383ecbde214764bac0d6923ec8743b4462a377a.zip
readline/elfutils: Add missing files
Add files which were missing from the initial import. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'recipes-devtools/elfutils/elfutils/dso-link-change.patch')
-rw-r--r--recipes-devtools/elfutils/elfutils/dso-link-change.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/recipes-devtools/elfutils/elfutils/dso-link-change.patch b/recipes-devtools/elfutils/elfutils/dso-link-change.patch
new file mode 100644
index 0000000..d0cd3ed
--- /dev/null
+++ b/recipes-devtools/elfutils/elfutils/dso-link-change.patch
@@ -0,0 +1,32 @@
+Upstream-Status: Pending
+
+# This patch makes the link to the dependencies of libdw explicit, as recent
+# ld no longer implicitly links them. See
+# http://lists.fedoraproject.org/pipermail/devel/2010-March/133601.html as
+# a similar example of the error message you can encounter without this patch,
+# and https://fedoraproject.org/wiki/UnderstandingDSOLinkChange and
+# https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking for more
+# details.
+
+--- elfutils-0.148.orig/src/Makefile.am
++++ elfutils-0.148/src/Makefile.am
+@@ -86,7 +86,7 @@ libdw = ../libdw/libdw.a $(zip_LIBS) $(l
+ libelf = ../libelf/libelf.a
+ else
+ libasm = ../libasm/libasm.so
+-libdw = ../libdw/libdw.so
++libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl
+ libelf = ../libelf/libelf.so
+ endif
+ libebl = ../libebl/libebl.a
+--- elfutils-0.148.orig/tests/Makefile.am
++++ elfutils-0.148/tests/Makefile.am
+@@ -172,7 +172,7 @@ libdw = ../libdw/libdw.a $(zip_LIBS) $(l
+ libelf = ../libelf/libelf.a
+ libasm = ../libasm/libasm.a
+ else
+-libdw = ../libdw/libdw.so
++libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl
+ libelf = ../libelf/libelf.so
+ libasm = ../libasm/libasm.so
+ endif