From 95943af50f599ed951a1145283dcfd9432d46559 Mon Sep 17 00:00:00 2001 From: Matthew Nelson Date: Mon, 2 Oct 2023 10:02:53 -0400 Subject: [PATCH] Add -framework Security compiler arg --- library/driver/build.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/library/driver/build.gradle.kts b/library/driver/build.gradle.kts index 2a9455b..a32582b 100644 --- a/library/driver/build.gradle.kts +++ b/library/driver/build.gradle.kts @@ -177,6 +177,11 @@ fun CompileToBitcodeExtension.createSqlite3mc() { else -> null }?.let { compilerArgs.add(it) } + if (kt.family.isAppleFamily) { + compilerArgs.add("-framework") + compilerArgs.add("Security") + } + // Warning/Error suppression flags listOf( "-Wno-missing-braces",