aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/elfutils/patches/006-libdw_LIBS.patch
blob: 80c20ad5f0d284ae17defd78ccb1991bc047d8ad (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/libdw/Makefile.in
+++ b/libdw/Makefile.in
@@ -1002,7 +1002,7 @@ libdw.so$(EXEEXT): $(srcdir)/libdw.map l
 		-Wl,--enable-new-dtags,-rpath,$(pkglibdir) \
 		-Wl,--version-script,$<,--no-undefined \
 		-Wl,--whole-archive $(filter-out $<,$^) -Wl,--no-whole-archive\
-		-ldl -lz $(argp_LDADD) $(zip_LIBS)
+		-ldl -lz $(argp_LDADD) $(zip_LIBS) $(LIBS)
 	@$(textrel_check)
 	$(AM_V_at)ln -fs $@ $@.$(VERSION)