Maybe the answer will be the same, but let me ask again, hopefully with more clarity:
I have an application's C source code that I compiled to Object files. I want my nim program to import functions from those Object files (statically link them). My understanding is that I need to forward declare the functions in my nim program using a converted C header file (I think this is called a wrapper). A independent nim developer produced a wrapper, but set it up to access the functions dynamically (using pragma {.cdecl, importc: "funct", dynlib: LibName.}). If I change the pragma in the wrapper to {.cdecl, importc: "funct".}, will the linker look for the functions in the object files (if I put them in same directory as nim source)? Sorry for the noob question :)