Skip to content

Commit

Permalink
build: adjust linking for Crypto (#137)
Browse files Browse the repository at this point in the history
The package DLL `Crypto.dll` was building the BoringSSL wrapper
(`CryptoBoringWrapper`) in the style that the user requested (static or
shared).  However, there is a single user of the library and is not
directly included by the SPM client.  Furthermore, the library was not
setup for installation which makes redistribution of it impossible.
Always build the library in a static mode to allow compaction into the
`Crypto` target.
  • Loading branch information
compnerd authored Jan 6, 2023
1 parent 92a04c1 commit 9cc89f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CryptoBoringWrapper/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
##
##===----------------------------------------------------------------------===##

add_library(CryptoBoringWrapper
add_library(CryptoBoringWrapper STATIC
"AEAD/BoringSSLAEAD.swift"
"CryptoKitErrors_boring.swift")

Expand Down

0 comments on commit 9cc89f0

Please sign in to comment.