How do DLLs react when in a non-Windows environment?

I personally run a Windows machine (Windows 10 specifically) and I am currently working on building an editor and engine on top of MonoGame (similar to something like unity), and I was wondering if you could DLLs not originally made for Mono(Game) in a cross-platform game.

The dll I’m mainly wondering about is the one for main engine, but also NLua, which is open-source and can be seen at and

Any help is greatly appreciated!


As long as they don’t use any Windows-specific APIs, they can usually be used as-is on Mac and Linux.