void-packages/srcpkgs/elfutils/patches/007-libdw-add-libs.patch

14 lines
476 B
Diff
Raw Normal View History

diff --git libdw/Makefile.in libdw/Makefile.in
index 1aa13dd..1c1e0d7 100644
--- libdw/Makefile.in
+++ libdw/Makefile.in
@@ -969,7 +969,7 @@ libdw.so$(EXEEXT): $(srcdir)/libdw.map libdw_pic.a ../libdwelf/libdwelf_pic.a \
-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)