mirror of
https://github.com/apple/swift-crypto
synced 2026-11-26 04:47:49 +00:00
build: adjust linking for Crypto (#137)
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.
This commit is contained in:
1 parent
92a04c10fc
commit
9cc89f0170
1 file changed
+1
-1
@@ -12,7 +12,7 @@
|
||||
##
|
||||
##===----------------------------------------------------------------------===##
|
||||
|
||||
add_library(CryptoBoringWrapper
|
||||
add_library(CryptoBoringWrapper STATIC
|
||||
"AEAD/BoringSSLAEAD.swift"
|
||||
"CryptoKitErrors_boring.swift")
|
||||
|
||||
|
||||
Reference in new issue
Block a user