Skip to content

Commit cfcfd43

Browse files
committed
xxx
1 parent a027994 commit cfcfd43

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

windows/build.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ try {
229229
-DCRYPTO_INCLUDE_DIRS="${PREFIX}\include" `
230230
-DCRYPTO_LIBRARY_DIRS="${PREFIX}\lib" `
231231
-DCRYPTO_BIN_DIRS="${PREFIX}\bin" `
232-
-DCRYPTO_LIBRARIES="${CRYPTO_LIBRARIES}" `
232+
-DCRYPTO_LIBRARIES="${CRYPTO_LIBRARIES}-${CRYPTO_SOVERSION}" `
233233
-DCMAKE_C_FLAGS_DEBUG="${CFLAGS_DEBUG} ${Fido2Flags}" `
234234
-DCMAKE_C_FLAGS_RELEASE="${CFLAGS_RELEASE} ${Fido2Flags}" `
235235
-DCMAKE_INSTALL_PREFIX="${PREFIX}" "${CMAKE_SYSTEM_VERSION}"; `
@@ -241,7 +241,7 @@ try {
241241
ExitOnError
242242
# Copy DLLs.
243243
if ("${SHARED}" -eq "ON") {
244-
"cbor.dll", "${CRYPTO_LIBRARIES}.dll", "zlib1.dll" | `
244+
"cbor.dll", "${CRYPTO_LIBRARIES}-${CRYPTO_SOVERSION}.dll", "zlib1.dll" | `
245245
%{ Copy-Item "${PREFIX}\bin\$_" `
246246
-Destination "examples\${Config}" }
247247
}

windows/const.ps1

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ New-Variable -Name 'LIBRESSL_URL' `
88
-Value 'https://ftp.openbsd.org/pub/OpenBSD/LibreSSL' `
99
-Option Constant
1010
New-Variable -Name 'LIBRESSL' -Value 'libressl-4.0.0' -Option Constant
11-
New-Variable -Name 'CRYPTO_LIBRARIES' -Value 'crypto-55' -Option Constant
11+
New-Variable -Name 'CRYPTO_LIBRARIES' -Value 'crypto' -Option Constant
12+
New-Variable -Name 'CRYPTO_SOVERSION' -Value '55' -Option Constant
1213

1314
# libcbor coordinates.
1415
New-Variable -Name 'LIBCBOR' -Value 'libcbor-0.11.0' -Option Constant

windows/release.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Function Package-Dynamic(${SRC}, ${DEST}) {
3535
Copy-Item "${SRC}\lib\cbor.lib" "${DEST}"
3636
Copy-Item "${SRC}\bin\zlib1.dll" "${DEST}"
3737
Copy-Item "${SRC}\lib\zlib1.lib" "${DEST}"
38-
Copy-Item "${SRC}\bin\${CRYPTO_LIBRARIES}.dll" "${DEST}"
38+
Copy-Item "${SRC}\bin\${CRYPTO_LIBRARIES}-${CRYPTO_SOVERSION}.dll" "${DEST}"
3939
Copy-Item "${SRC}\lib\${CRYPTO_LIBRARIES}.lib" "${DEST}"
4040
Copy-Item "${SRC}\bin\fido2.dll" "${DEST}"
4141
Copy-Item "${SRC}\lib\fido2.lib" "${DEST}"

0 commit comments

Comments
 (0)