Quick question, I am building my KMP app with sqld...
# multiplatform
m
Quick question, I am building my KMP app with sqldelight and I saw on the documentation that we need to add -lsqlite3 for compilation. I put it but I have this error now : e: Invalid argument: -lsqlite3 Conf:
Copy code
configure(listOf(iosArm32, iosArm64, iosX64)) {
        compilations {
            val main by getting {
//                extraOpts("-Xobjc-generics -lsqlite3")
                kotlinOptions {
                    freeCompilerArgs = listOf("-Xobjc-generics", "-lsqlite3")
                }
            }
        }

        binaries.framework {
            export("org.jetbrains.kotlinx:kotlinx-coroutines-core-common:$coroutines_version")
            baseName = frameworkName
        }
    }
b
You don't need it, unless you enable a flag that says you want to link SQLite yourself