customize, resize, sparsify, sysprep: Link explicitly with pthread
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 4 Mar 2021 11:57:44 +0000 (11:57 +0000)
committerAntonio Terceiro <terceiro@debian.org>
Sat, 4 Dec 2021 15:11:35 +0000 (15:11 +0000)
Cherry picked from guestfs-tools commit 87543dad61.

Gbp-Pq: Name customize-resize-sparsify-sysprep-Link-explicitly-with-pt.patch

customize/Makefile.am
resize/Makefile.am
sparsify/Makefile.am
sysprep/Makefile.am

index c926687b3f938dcf9ec7c31a3ebbd56ab07ef842..fb418d7bfcf8a75bd50ae72c357925128fe5526d 100644 (file)
@@ -169,6 +169,7 @@ OCAMLLINKFLAGS = \
        $(LINK_CUSTOM_OCAMLC_ONLY)
 
 OCAMLCLIBS = \
+       -pthread -lpthread \
        -lutils \
        $(LIBTINFO_LIBS) \
        $(LIBCRYPT_LIBS) \
index fa88cc634fcbf546599fbd8bb499029bce0e9192..936d2b05ed375acdd7aa9348e2a2b6a0681da079 100644 (file)
@@ -72,6 +72,7 @@ OCAMLPACKAGES += -package gettext-stub
 endif
 
 OCAMLCLIBS = \
+       -pthread -lpthread \
        -lprogress \
        -lutils \
        $(LIBTINFO_LIBS) \
index fa964e8afcd06a1d479529fd5c093d9a79f1f86f..4d1af85d6947a37ae9898af16d2bfeb4238827e4 100644 (file)
@@ -80,6 +80,7 @@ OCAMLPACKAGES += -package gettext-stub
 endif
 
 OCAMLCLIBS = \
+       -pthread -lpthread \
        -lprogress \
        -lutils \
        $(LIBTINFO_LIBS) \
index 69bb928202421f0949a2b949101a0e52724e2f2c..250c74913c4aab8afb5f9e355656c4a4b29fd4ce 100644 (file)
@@ -129,6 +129,7 @@ OCAMLPACKAGES += -package gettext-stub
 endif
 
 OCAMLCLIBS = \
+       -pthread -lpthread \
        -lvisit \
        -lstructs \
        -lutils \