In the scope of kotlin targets, should/would not u...
# kotlin-native
j
In the scope of kotlin targets, should/would not using linkerOpts and compilerOpts:
Copy code
val bugsnagInterop by cinterops.creating {
                    compilerOpts("-F/Users/XXX/Source/projectX/native/libs", "-framework Bugsnag")
                    linkerOpts("-F/Users/XXX/Source/projectX/native/libs", "-framework Bugsnag")
                }
be the same as in the def file write:
Copy code
compilerOpts = -F/Users/XXX/Source/projectX/native/libs -framework Bugsnag
linkerOpts = -F/Users/XXX/Source/projectX/native/libs -framework Bugsnag
Because currently by only using the above code snippet I run into linkage problem
s
linkerOpts
should be specified either in
.def
file or for
binaries
in Gradle. Using
linkerOpts
for
cinterops
in Gradle is not supposed to work properly and will be removed.
j
Allright, thanks