File: link-with--latomic-when-linking-with--lc.patch

package info (click to toggle)
libguestfs 1%3A1.54.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 98,892 kB
  • sloc: ansic: 379,443; ml: 38,771; sh: 10,329; java: 9,631; cs: 6,377; haskell: 5,729; makefile: 5,178; python: 3,821; perl: 2,467; erlang: 2,461; ruby: 349; xml: 275; pascal: 257; javascript: 157; cpp: 10
file content (34 lines) | stat: -rw-r--r-- 823 bytes parent folder | download
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: =?utf-8?q?St=C3=A9phane_Glondu?= <glondu@debian.org>
Date: Sun, 11 Aug 2024 07:03:06 +0200
Subject: Link with -latomic when linking with -lcamlrun

Bug-Debian: https://bugs.debian.org/1078470
---
 daemon/Makefile.am | 1 +
 daemon/Makefile.in | 1 +
 2 files changed, 2 insertions(+)

diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index d7cf5bc..d7c423a 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -384,6 +384,7 @@ OCAML_LIBS = \
 	-l$(CAMLSTR) \
 	-l$(CAMLUNIX) \
 	-l$(CAMLRUN) \
+	-latomic \
 	$(LIBZSTD_LIBS) \
 	-ldl -lm
 
diff --git a/daemon/Makefile.in b/daemon/Makefile.in
index cbe2b72..b83a72d 100644
--- a/daemon/Makefile.in
+++ b/daemon/Makefile.in
@@ -1367,6 +1367,7 @@ OCAML_LIBS = \
 	-l$(CAMLSTR) \
 	-l$(CAMLUNIX) \
 	-l$(CAMLRUN) \
+	-latomic \
 	$(LIBZSTD_LIBS) \
 	-ldl -lm