If you can compile the library under both yes.
Windows uses .dlls, and *nix uses .so
Changing the extension won't do it. You'll need the library compiled under each.
Windows uses .dlls, and *nix uses .so
Changing the extension won't do it. You'll need the library compiled under each.