From: Richard W.M. Jones Date: Thu, 4 Mar 2021 11:57:44 +0000 (+0000) Subject: customize, resize, sparsify, sysprep: Link explicitly with pthread X-Git-Tag: archive/raspbian/1%1.46.2-4+rpi1~1^2^2^2~2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2fbd45b934f5c834bc21492311cf2c909684aec4;p=libguestfs.git customize, resize, sparsify, sysprep: Link explicitly with pthread Cherry picked from guestfs-tools commit 87543dad61. Gbp-Pq: Name customize-resize-sparsify-sysprep-Link-explicitly-with-pt.patch --- diff --git a/customize/Makefile.am b/customize/Makefile.am index c926687b..fb418d7b 100644 --- a/customize/Makefile.am +++ b/customize/Makefile.am @@ -169,6 +169,7 @@ OCAMLLINKFLAGS = \ $(LINK_CUSTOM_OCAMLC_ONLY) OCAMLCLIBS = \ + -pthread -lpthread \ -lutils \ $(LIBTINFO_LIBS) \ $(LIBCRYPT_LIBS) \ diff --git a/resize/Makefile.am b/resize/Makefile.am index fa88cc63..936d2b05 100644 --- a/resize/Makefile.am +++ b/resize/Makefile.am @@ -72,6 +72,7 @@ OCAMLPACKAGES += -package gettext-stub endif OCAMLCLIBS = \ + -pthread -lpthread \ -lprogress \ -lutils \ $(LIBTINFO_LIBS) \ diff --git a/sparsify/Makefile.am b/sparsify/Makefile.am index fa964e8a..4d1af85d 100644 --- a/sparsify/Makefile.am +++ b/sparsify/Makefile.am @@ -80,6 +80,7 @@ OCAMLPACKAGES += -package gettext-stub endif OCAMLCLIBS = \ + -pthread -lpthread \ -lprogress \ -lutils \ $(LIBTINFO_LIBS) \ diff --git a/sysprep/Makefile.am b/sysprep/Makefile.am index 69bb9282..250c7491 100644 --- a/sysprep/Makefile.am +++ b/sysprep/Makefile.am @@ -129,6 +129,7 @@ OCAMLPACKAGES += -package gettext-stub endif OCAMLCLIBS = \ + -pthread -lpthread \ -lvisit \ -lstructs \ -lutils \