Skip to content

Commit 9cc89f0

Browse files
authored
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.
1 parent 92a04c1 commit 9cc89f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/CryptoBoringWrapper/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
##
1313
##===----------------------------------------------------------------------===##
1414

15-
add_library(CryptoBoringWrapper
15+
add_library(CryptoBoringWrapper STATIC
1616
"AEAD/BoringSSLAEAD.swift"
1717
"CryptoKitErrors_boring.swift")
1818

0 commit comments

Comments
 (0)