File: 02_use-static-binutils.patch

package info (click to toggle)
kcov 43%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,600 kB
  • sloc: cpp: 12,617; ansic: 2,379; python: 2,001; sh: 333; makefile: 133; javascript: 65; xml: 7; asm: 4
file content (34 lines) | stat: -rw-r--r-- 819 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
From: Alessandro Ghedini <ghedo@debian.org>
Date: Mon, 15 Jul 2024 17:42:27 +0200
Subject: Use static binutils libraries

Origin: vendor
Bug-Debian: https://bugs.debian.org/949602
Forwarded: not-needed
Last-Update: 2019-04-01
---
 cmake/FindBfd.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/FindBfd.cmake b/cmake/FindBfd.cmake
index 3f12f4b..a7fbe49 100644
--- a/cmake/FindBfd.cmake
+++ b/cmake/FindBfd.cmake
@@ -34,7 +34,7 @@ find_path (LIBBFD_INCLUDE_DIRS
 # Ugly, yes ugly...
 find_library (LIBBFD_BFD_LIBRARY
     NAMES
-      bfd
+      libbfd.a
     PATHS
       /usr/lib
       /usr/lib64
@@ -60,7 +60,7 @@ find_library (LIBBFD_IBERTY_LIBRARY
 
 find_library (LIBBFD_OPCODES_LIBRARY
     NAMES
-      opcodes
+      libopcodes.a
     PATHS
       /usr/lib
       /usr/lib64