From b155d1f16b53815c11f79fc88ac7ecfb9c579678 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Glondu?= Date: Sun, 11 Aug 2024 07:03:06 +0200 Subject: [PATCH] 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 --- daemon/Makefile.am | 1 + daemon/Makefile.in | 1 + 2 files changed, 2 insertions(+) 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 -- 2.30.2