From 6bd67d05578a4c3d9a8d140f8ccca1c7da6ae766 Mon Sep 17 00:00:00 2001 From: Micah Snyder Date: Wed, 7 Jun 2023 22:31:04 -0700 Subject: [PATCH] [clamav] Change library name of bz2 dependency in build script (#10438) We had been using an un-released bzip2 1.1.0 version that had the incorrect library name (libbz2_static.a). We're switching to the released 1.0.8 (completed here: https://github.com/Cisco-Talos/clamav-mussels-cookbook/pull/36) , and now we have to switch to the correct static library name in any build instructiosn that use the dependencies built by those recipes. --- projects/clamav/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/clamav/build.sh b/projects/clamav/build.sh index f738209d8..879d04b40 100755 --- a/projects/clamav/build.sh +++ b/projects/clamav/build.sh @@ -1,5 +1,5 @@ #!/bin/bash -eu -# Copyright (C) 2018 Cisco Systems, Inc. and/or its affiliates. All rights reserved. +# Copyright 2023 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -36,7 +36,7 @@ cmake ${SRC}/clamav \ -DJSONC_LIBRARY="$CLAMAV_DEPENDENCIES/lib/libjson-c.a" \ -DENABLE_JSON_SHARED=OFF \ -DBZIP2_INCLUDE_DIR="$CLAMAV_DEPENDENCIES/include" \ - -DBZIP2_LIBRARY_RELEASE="$CLAMAV_DEPENDENCIES/lib/libbz2_static.a" \ + -DBZIP2_LIBRARY_RELEASE="$CLAMAV_DEPENDENCIES/lib/libbz2.a" \ -DOPENSSL_ROOT_DIR="$CLAMAV_DEPENDENCIES" \ -DOPENSSL_INCLUDE_DIR="$CLAMAV_DEPENDENCIES/include" \ -DOPENSSL_CRYPTO_LIBRARY="$CLAMAV_DEPENDENCIES/lib/libcrypto.a" \