From 30064e3d4aa77b4b71355ce4987fa91e74e76bfc Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Sat, 10 Jun 2023 14:07:52 +0200 Subject: [PATCH] cpimport.bin doesn't really need libboost_program_options linking with unused libraries creates a difference in dependencies between --no-as-needed (gcc default) and --as-needed (default on Fedora rpmbuild) builds. --- writeengine/bulk/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/writeengine/bulk/CMakeLists.txt b/writeengine/bulk/CMakeLists.txt index a414b1797..10d360cb7 100644 --- a/writeengine/bulk/CMakeLists.txt +++ b/writeengine/bulk/CMakeLists.txt @@ -40,7 +40,7 @@ set(cpimport.bin_SRCS cpimport.cpp) add_executable(cpimport.bin ${cpimport.bin_SRCS}) add_dependencies(cpimport.bin marias3) -target_link_libraries(cpimport.bin boost_program_options ${ENGINE_LDFLAGS} ${NETSNMP_LIBRARIES} ${ENGINE_WRITE_LIBS} ${S3API_DEPS} we_bulk we_xml) +target_link_libraries(cpimport.bin ${ENGINE_LDFLAGS} ${NETSNMP_LIBRARIES} ${ENGINE_WRITE_LIBS} ${S3API_DEPS} we_bulk we_xml) install(TARGETS cpimport.bin DESTINATION ${ENGINE_BINDIR} COMPONENT columnstore-engine)