aboutsummaryrefslogtreecommitdiffstats
path: root/testing/nix/libboost_context-mt.patch
blob: 02326b2e1e8b7a5c4ed9288e8e4688b67bba8e3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
We don't have libboost_context.so, just libboost_context-mt.so (-mt stands
for multithreading).

--- a/src/libutil/local.mk
+++ b/src/libutil/local.mk
@@ -6,7 +6,7 @@
 
 libutil_SOURCES := $(wildcard $(d)/*.cc)
 
-libutil_LDFLAGS = $(LIBLZMA_LIBS) -lbz2 -pthread $(OPENSSL_LIBS) $(LIBBROTLI_LIBS) -lboost_context
+libutil_LDFLAGS = $(LIBLZMA_LIBS) -lbz2 -pthread $(OPENSSL_LIBS) $(LIBBROTLI_LIBS) -lboost_context-mt
 
 libutil_LIBS = libformat