Skip to content

Commit

Permalink
windows: do not rename static PDB
Browse files Browse the repository at this point in the history
  • Loading branch information
LDVG committed Jan 22, 2024
1 parent dcdd879 commit 8c5a029
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions windows/release.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2021-2022 Yubico AB. All rights reserved.
# Copyright (c) 2021-2023 Yubico AB. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
# SPDX-License-Identifier: BSD-2-Clause
Expand Down Expand Up @@ -60,14 +60,12 @@ Function Package-PDBs(${SRC}, ${DEST}) {
}

Function Package-StaticPDBs(${SRC}, ${DEST}) {
# original file names must be preserved
Copy-Item "${SRC}\${LIBRESSL}\crypto\crypto_obj.dir\${Config}\crypto_obj.pdb" `
"${DEST}\${CRYPTO_LIBRARIES}.pdb"
Copy-Item "${SRC}\${LIBCBOR}\src\${Config}\cbor.pdb" `
"${DEST}\cbor.pdb"
Copy-Item "${SRC}\${ZLIB}\${Config}\zlibstatic.pdb" `
"${DEST}\zlib1.pdb"
Copy-Item "${SRC}\src\${Config}\fido2_static.pdb" `
"${DEST}\fido2.pdb"
"${DEST}"
Copy-Item "${SRC}\${LIBCBOR}\src\${Config}\cbor.pdb" "${DEST}"
Copy-Item "${SRC}\${ZLIB}\${Config}\zlibstatic.pdb" "${DEST}"
Copy-Item "${SRC}\src\${Config}\fido2_static.pdb" "${DEST}"
}

Function Package-Tools(${SRC}, ${DEST}) {
Expand Down

0 comments on commit 8c5a029

Please sign in to comment.