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:
Claude committed 2026-10-30 11:58:35 +00:00
1 parent acf2a05ecb
commit fe6ab528f1
3 files changed
+15 -4

No files matched your search

+6 -2
View File
@@ -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(