[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.
This commit is contained in:
Micah Snyder 2023-06-07 22:31:04 -07:00 committed by GitHub
parent d6c046c00c
commit 6bd67d0557
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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" \