packages/libs/elfutils/patches/006-libdw_LIBS.patch
Luiz Angelo Daros de Luca 5313490216 elfutils: imported from oldpackages, updated to 0.160
The pkg was imported from oldpackages.
It was updated to latest version, requiring some fixes in patches.

I added myself as maintainer.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2014-12-16 14:03:25 -02:00

22 lines
928 B
Diff

--- elfutils-0.160/libdw/Makefile.am.old 2014-11-06 03:02:12.700116452 -0200
+++ elfutils-0.160/libdw/Makefile.am 2014-11-06 03:02:55.732116447 -0200
@@ -110,7 +110,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) x $(LIBS)
if $(READELF) -d $@ | fgrep -q TEXTREL; then exit 1; fi
ln -fs $@ $@.$(VERSION)
--- elfutils-0.160/libdw/Makefile.in.old 2014-11-06 03:28:53.092116261 -0200
+++ elfutils-0.160/libdw/Makefile.in 2014-11-06 03:29:02.528116260 -0200
@@ -958,7 +958,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)
if $(READELF) -d $@ | fgrep -q TEXTREL; then exit 1; fi
ln -fs $@ $@.$(VERSION)