From: Stéphane Glondu Date: Sun, 11 Aug 2024 05:03:06 +0000 (+0200) Subject: Link with -latomic when linking with -lcamlrun X-Git-Tag: archive/raspbian/1%1.52.2-3+rpi1^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ec40e67ee94fa932b22c9f9a79b9ee539f25139a;p=libguestfs.git Link with -latomic when linking with -lcamlrun Bug-Debian: https://bugs.debian.org/1078470 Gbp-Pq: Name link-with--latomic-when-linking-with--lc.patch --- diff --git a/daemon/Makefile.am b/daemon/Makefile.am index 40c67634..9d07c9fb 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -381,6 +381,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 1b323893..666aa1ec 100644 --- a/daemon/Makefile.in +++ b/daemon/Makefile.in @@ -1363,6 +1363,7 @@ OCAML_LIBS = \ -l$(CAMLSTR) \ -l$(CAMLUNIX) \ -l$(CAMLRUN) \ + -latomic \ $(LIBZSTD_LIBS) \ -ldl -lm