Skip to content

Commit

Permalink
xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
LDVG committed Oct 16, 2024
1 parent a027994 commit cfcfd43
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions windows/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ try {
-DCRYPTO_INCLUDE_DIRS="${PREFIX}\include" `
-DCRYPTO_LIBRARY_DIRS="${PREFIX}\lib" `
-DCRYPTO_BIN_DIRS="${PREFIX}\bin" `
-DCRYPTO_LIBRARIES="${CRYPTO_LIBRARIES}" `
-DCRYPTO_LIBRARIES="${CRYPTO_LIBRARIES}-${CRYPTO_SOVERSION}" `
-DCMAKE_C_FLAGS_DEBUG="${CFLAGS_DEBUG} ${Fido2Flags}" `
-DCMAKE_C_FLAGS_RELEASE="${CFLAGS_RELEASE} ${Fido2Flags}" `
-DCMAKE_INSTALL_PREFIX="${PREFIX}" "${CMAKE_SYSTEM_VERSION}"; `
Expand All @@ -241,7 +241,7 @@ try {
ExitOnError
# Copy DLLs.
if ("${SHARED}" -eq "ON") {
"cbor.dll", "${CRYPTO_LIBRARIES}.dll", "zlib1.dll" | `
"cbor.dll", "${CRYPTO_LIBRARIES}-${CRYPTO_SOVERSION}.dll", "zlib1.dll" | `
%{ Copy-Item "${PREFIX}\bin\$_" `
-Destination "examples\${Config}" }
}
Expand Down
3 changes: 2 additions & 1 deletion windows/const.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ New-Variable -Name 'LIBRESSL_URL' `
-Value 'https://ftp.openbsd.org/pub/OpenBSD/LibreSSL' `
-Option Constant
New-Variable -Name 'LIBRESSL' -Value 'libressl-4.0.0' -Option Constant
New-Variable -Name 'CRYPTO_LIBRARIES' -Value 'crypto-55' -Option Constant
New-Variable -Name 'CRYPTO_LIBRARIES' -Value 'crypto' -Option Constant
New-Variable -Name 'CRYPTO_SOVERSION' -Value '55' -Option Constant

# libcbor coordinates.
New-Variable -Name 'LIBCBOR' -Value 'libcbor-0.11.0' -Option Constant
Expand Down
2 changes: 1 addition & 1 deletion windows/release.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Function Package-Dynamic(${SRC}, ${DEST}) {
Copy-Item "${SRC}\lib\cbor.lib" "${DEST}"
Copy-Item "${SRC}\bin\zlib1.dll" "${DEST}"
Copy-Item "${SRC}\lib\zlib1.lib" "${DEST}"
Copy-Item "${SRC}\bin\${CRYPTO_LIBRARIES}.dll" "${DEST}"
Copy-Item "${SRC}\bin\${CRYPTO_LIBRARIES}-${CRYPTO_SOVERSION}.dll" "${DEST}"
Copy-Item "${SRC}\lib\${CRYPTO_LIBRARIES}.lib" "${DEST}"
Copy-Item "${SRC}\bin\fido2.dll" "${DEST}"
Copy-Item "${SRC}\lib\fido2.lib" "${DEST}"
Expand Down

0 comments on commit cfcfd43

Please sign in to comment.