https://kotlinlang.org logo
#kotlin-native
Title
# kotlin-native
b

Big Chungus

03/31/2021, 7:24 PM
How do you add additional directiries to linker context so that libraries in
linkerOpts
would get found? Also, is there a konan
.def
file schema somewhere?
Nvm, figured it out:
linkerOpts.linux = -L/usr/lib/x86_64-linux-gnu -lmongoc-1.0 -lbson-1.0
k

Kris Wong

03/31/2021, 7:54 PM
i prefer to put the
-lsomelibrary
in the def file and the paths in the gradle files
👍 1
2 Views