diff --git a/Source/3rdParty/rt64/src/hle/rt64_application.cpp b/Source/3rdParty/rt64/src/hle/rt64_application.cpp index 1f0ac00dc..8c430dae5 100644 --- a/Source/3rdParty/rt64/src/hle/rt64_application.cpp +++ b/Source/3rdParty/rt64/src/hle/rt64_application.cpp @@ -87,7 +87,7 @@ namespace RT64 { } Application::SetupResult Application::setup(uint32_t threadId) { -# ifdef _WIN64 +# if defined(_WIN64) && !defined(RT64_BUILD_PLUGIN) if (!DynamicLibraries::load()) { fprintf(stderr, "Failed to load dynamic libraries. Make sure the dependencies are next to the Plugin's DLL.\n"); return SetupResult::Success;