aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/elfutils/patches/006-libdw_LIBS.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/libs/elfutils/patches/006-libdw_LIBS.patch')
-rw-r--r--package/libs/elfutils/patches/006-libdw_LIBS.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libs/elfutils/patches/006-libdw_LIBS.patch b/package/libs/elfutils/patches/006-libdw_LIBS.patch
new file mode 100644
index 0000000000..aaa35f9430
--- /dev/null
+++ b/package/libs/elfutils/patches/006-libdw_LIBS.patch
@@ -0,0 +1,11 @@
+--- elfutils-0.161/libdw/Makefile.in.orig 2015-01-16 03:50:15.311237461 -0200
++++ elfutils-0.161/libdw/Makefile.in 2015-01-16 03:55:35.082090075 -0200
+@@ -969,7 +969,7 @@
+ -Wl,--enable-new-dtags,-rpath,$(pkglibdir) \
+ -Wl,--version-script,$<,--no-undefined \
+ -Wl,--whole-archive $(filter-out $<,$^) -Wl,--no-whole-archive\
+- -ldl $(zip_LIBS)
++ -ldl $(zip_LIBS) $(LIBS)
+ @$(textrel_check)
+ ln -fs $@ $@.$(VERSION)
+