elfutils: import package from packages.git
[openwrt.git] / package / libs / elfutils / patches / 006-libdw_LIBS.patch
diff --git a/package/libs/elfutils/patches/006-libdw_LIBS.patch b/package/libs/elfutils/patches/006-libdw_LIBS.patch
new file mode 100644 (file)
index 0000000..aaa35f9
--- /dev/null
@@ -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)