I tried to use C code in a Sirdi package, but it didn't work right, so I just added the IDRIS2_LIBS flag to the idris2 --build command, then the idris compiler will copy all the shared objects inside the project/lib to the build folder. It always search by dependencies inside the lib folder because the compiler does it either.
I tried to use C code in a Sirdi package, but it didn't work right, so I just added the
IDRIS2_LIBS
flag to theidris2 --build
command, then the idris compiler will copy all the shared objects inside the project/lib to the build folder. It always search by dependencies inside the lib folder because the compiler does it either.