Cross compiling plugin for Linux


I am trying to port a plugin from Win64 to Linux. The plugin uses dll binaries from an SDK on Win64. There are so binaries available as well for Linux.

I am trying to figure out how to setup my build.cs or other files so that it tells the plugin code where the .so binaries will be on the target platform at runtime, but I keep having error messages when trying to package my project for Linux (arm64), because UE4 is trying to locate the so binaries on my Windows machine.

Is there a good resource on how to port a plugin for cross compilation, including target SDK binaries to use on the target platform?