summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch')
-rw-r--r--meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch15
1 files changed, 9 insertions, 6 deletions
diff --git a/meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch b/meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch
index 09c9d3ea24..a9f5e030fc 100644
--- a/meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch
+++ b/meta/recipes-devtools/elfutils/files/0001-libasm-may-link-with-libbz2-if-found.patch
@@ -1,4 +1,4 @@
1From ed1975deeaa47f98d212fd144c8bda075b1a5d36 Mon Sep 17 00:00:00 2001 1From 46d9d889a07fc9f9f089f800e5c0e895889c44ae Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 4 Oct 2017 22:30:46 -0700 3Date: Wed, 4 Oct 2017 22:30:46 -0700
4Subject: [PATCH] libasm may link with libbz2 if found 4Subject: [PATCH] libasm may link with libbz2 if found
@@ -11,26 +11,29 @@ where indirect libraries may be not found by linker
11 11
12Upstream-Status: Pending 12Upstream-Status: Pending
13Signed-off-by: Khem Raj <raj.khem@gmail.com> 13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14
15--- 14---
16 src/Makefile.am | 4 ++-- 15 src/Makefile.am | 4 ++--
17 1 file changed, 2 insertions(+), 2 deletions(-) 16 1 file changed, 2 insertions(+), 2 deletions(-)
18 17
19diff --git a/src/Makefile.am b/src/Makefile.am 18diff --git a/src/Makefile.am b/src/Makefile.am
20index c28d81f..951e978 100644 19index 853eda4..da7f3b4 100644
21--- a/src/Makefile.am 20--- a/src/Makefile.am
22+++ b/src/Makefile.am 21+++ b/src/Makefile.am
23@@ -40,11 +40,11 @@ EXTRA_DIST += make-debug-archive.in 22@@ -40,7 +40,7 @@ EXTRA_DIST += make-debug-archive.in
24 CLEANFILES += make-debug-archive 23 CLEANFILES += make-debug-archive
25 24
26 if BUILD_STATIC 25 if BUILD_STATIC
27-libasm = ../libasm/libasm.a 26-libasm = ../libasm/libasm.a
28+libasm = ../libasm/libasm.a $(zip_LIBS) 27+libasm = ../libasm/libasm.a $(zip_LIBS)
29 libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) -ldl -lpthread 28 libdw = ../libdw/libdw.a -lz $(zip_LIBS) $(libelf) -ldl -lpthread
30 libelf = ../libelf/libelf.a -lz 29 libelf = ../libelf/libelf.a -lz $(zstd_LIBS)
30 if LIBDEBUGINFOD
31@@ -49,7 +49,7 @@ else
32 libdebuginfod =
33 endif
31 else 34 else
32-libasm = ../libasm/libasm.so 35-libasm = ../libasm/libasm.so
33+libasm = ../libasm/libasm.so $(zip_LIBS) 36+libasm = ../libasm/libasm.so $(zip_LIBS)
34 libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl 37 libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl
35 libelf = ../libelf/libelf.so 38 libelf = ../libelf/libelf.so
36 endif 39 if LIBDEBUGINFOD