27 lines
955 B
Diff
27 lines
955 B
Diff
From 6b7e66d8f9257c09052586baad692ecae89aaa68 Mon Sep 17 00:00:00 2001
|
|
From: Jonathan Wakely <jwakely@redhat.com>
|
|
Date: Tue, 22 Jun 2021 21:23:52 +0100
|
|
Subject: [PATCH] [build] Remove -lboost_iostreams linker flag
|
|
|
|
This was previously needed for thin-provisioning/thin_metadata_pack.cc
|
|
but that file was rewritten in Rust and no longer needs Boost. The flag
|
|
causes every binary to have a completely redundant depedency on
|
|
libboost_iostream.so, which is an issue for RHEL packaging.
|
|
---
|
|
Makefile.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/Makefile.in b/Makefile.in
|
|
index b29551d9..ec665ca0 100644
|
|
--- a/Makefile.in
|
|
+++ b/Makefile.in
|
|
@@ -190,7 +190,7 @@ CXXFLAGS+=@CXX_STRERROR_FLAG@
|
|
CXXFLAGS+=@CXX_STRERROR_FLAG@
|
|
CXXFLAGS+=@LFS_FLAGS@
|
|
INCLUDES+=-I$(TOP_BUILDDIR) -I$(TOP_DIR) -I$(TOP_DIR)/thin-provisioning
|
|
-LIBS:=-laio -lexpat -lboost_iostreams -ldl
|
|
+LIBS:=-laio -lexpat -ldl
|
|
|
|
ifeq ("@DEVTOOLS@", "yes")
|
|
LIBS+=-lncurses
|