mirror of
https://github.com/D-Modem/app.git
synced 2026-11-28 17:38:05 -08:00
iOS engine build: #4's configure and link fixes, as they are there
The Apple job now gets past the shared Kotlin tests and stops where #4 fixed it: CMAKE_MACOSX_BUNDLE=OFF for dmodemd's install rule, and libresolv, SystemConfiguration and CoreFoundation for libre. The files are #4's, unchanged, so the two merge cleanly in either order. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRSgB6M9Vp9dEP1haEE
This commit is contained in:
3 files changed
+15
-4
No files matched your search
@@ -20,11 +20,15 @@ let engineLinking: [LinkerSetting] = [
|
||||
]),
|
||||
.linkedLibrary("dmodem_engine"), .linkedLibrary("dmodem_sip"), .linkedLibrary("re"),
|
||||
.linkedLibrary("ssl"), .linkedLibrary("crypto"), .linkedLibrary("stdc++"), .linkedLibrary("dl"),
|
||||
.linkedLibrary("m"),
|
||||
.linkedLibrary("m"), .linkedLibrary("resolv"),
|
||||
]
|
||||
#else
|
||||
let engine: Target = .binaryTarget(name: "DModemEngine", path: "../../build-apple/DModemEngine.xcframework")
|
||||
let engineLinking: [LinkerSetting] = [.linkedLibrary("c++")]
|
||||
let engineLinking: [LinkerSetting] = [
|
||||
.linkedLibrary("c++"), .linkedLibrary("resolv"),
|
||||
// libre asks the system for its DNS servers (srv.c, SCDynamicStore)
|
||||
.linkedFramework("SystemConfiguration"), .linkedFramework("CoreFoundation"),
|
||||
]
|
||||
#endif
|
||||
|
||||
let package = Package(
|
||||
|
||||
Reference in new issue
Block a user