mirror of
https://github.com/D-Modem/app.git
synced 2026-11-28 17:38:05 -08:00
DModemKit on Linux: link Mbed TLS's crypto, not OpenSSL
D-Modem's libre now takes its digests and AES from Mbed TLS by default (DMODEM_CRYPTO=mbedtls), built beside it in the host build: the Swift tests' link (the native job) needs libmbedcrypto, no longer -lssl -lcrypto. Signed-off-by: Claude <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRRgas5TD8Qpbs8x2NK
This commit is contained in:
1 file changed
+2
-1
@@ -19,7 +19,8 @@ let engineLinking: [LinkerSetting] = [
|
||||
"-L\(host)/app", "-L\(host)/app/d-modem-re/dmodemd", "-L\(host)/_deps/libre-install/lib",
|
||||
]),
|
||||
.linkedLibrary("dmodem_engine"), .linkedLibrary("dmodem_sip"), .linkedLibrary("re"),
|
||||
.linkedLibrary("ssl"), .linkedLibrary("crypto"), .linkedLibrary("stdc++"), .linkedLibrary("dl"),
|
||||
// (libre's digests and AES: D-Modem's default, Mbed TLS's crypto library, built beside it)
|
||||
.linkedLibrary("mbedcrypto"), .linkedLibrary("stdc++"), .linkedLibrary("dl"),
|
||||
.linkedLibrary("m"), .linkedLibrary("resolv"),
|
||||
]
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user