Link with -latomic when linking with -lcamlrun
authorStéphane Glondu <glondu@debian.org>
Sun, 11 Aug 2024 05:03:06 +0000 (07:03 +0200)
committerHilko Bengen <bengen@debian.org>
Sat, 26 Oct 2024 10:47:48 +0000 (12:47 +0200)
Bug-Debian: https://bugs.debian.org/1078470

Gbp-Pq: Name link-with--latomic-when-linking-with--lc.patch

daemon/Makefile.am
daemon/Makefile.in

index 40c67634f46edccd7d657edb3378ef50c52f450e..9d07c9fb094c924f36b4ee7f69fd8441a73056b2 100644 (file)
@@ -381,6 +381,7 @@ OCAML_LIBS = \
        -l$(CAMLSTR) \
        -l$(CAMLUNIX) \
        -l$(CAMLRUN) \
+       -latomic \
        $(LIBZSTD_LIBS) \
        -ldl -lm
 
index 1b3238930f97aa6cac9d7e4a82eecbdf58f749ae..666aa1ec532a43f660bc36b28b44b2d46d9bdff6 100644 (file)
@@ -1363,6 +1363,7 @@ OCAML_LIBS = \
        -l$(CAMLSTR) \
        -l$(CAMLUNIX) \
        -l$(CAMLRUN) \
+       -latomic \
        $(LIBZSTD_LIBS) \
        -ldl -lm