summaryrefslogtreecommitdiff
path: root/devel/elfutils/files/patch-libdw_Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'devel/elfutils/files/patch-libdw_Makefile.am')
-rw-r--r--devel/elfutils/files/patch-libdw_Makefile.am19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/elfutils/files/patch-libdw_Makefile.am b/devel/elfutils/files/patch-libdw_Makefile.am
new file mode 100644
index 000000000000..b07b6ec55cc3
--- /dev/null
+++ b/devel/elfutils/files/patch-libdw_Makefile.am
@@ -0,0 +1,19 @@
+--- libdw/Makefile.am.orig 2015-06-10 19:44:33 UTC
++++ libdw/Makefile.am
+@@ -105,14 +105,14 @@ am_libdw_pic_a_OBJECTS = $(libdw_a_SOURC
+ libdw_so_SOURCES =
+ libdw.so$(EXEEXT): $(srcdir)/libdw.map libdw_pic.a ../libdwelf/libdwelf_pic.a \
+ ../libdwfl/libdwfl_pic.a ../libebl/libebl.a \
+- ../libelf/libelf.so
++ ../libelf/libelf.so ../lib/libeu.a
+ # The rpath is necessary for libebl because its $ORIGIN use will
+ # not fly in a setuid executable that links in libdw.
+ $(LINK) -shared -o $@ -Wl,--soname,$@.$(VERSION),-z,defs \
+ -Wl,--enable-new-dtags,-rpath,$(pkglibdir) \
+ -Wl,--version-script,$<,--no-undefined \
+ -Wl,--whole-archive $(filter-out $<,$^) -Wl,--no-whole-archive\
+- -ldl $(argp_LDADD) $(zip_LIBS)
++ $(argp_LDADD) $(zip_LIBS)
+ @$(textrel_check)
+ ln -fs $@ $@.$(VERSION)
+