Fix plugin loading to use .dylib extension on Mac

This commit is contained in:
Gary Talent 2017-05-17 03:54:20 -05:00
parent fb52ca6518
commit 6ab8ea640f

View File

@ -76,6 +76,8 @@ void MainWindow::loadPlugins(NostalgiaStudioProfile profile) {
for (auto p : profile.plugins) {
#if defined(Q_OS_WIN)
auto libName = p.libName + ".dll";
#elif defined(Q_OS_MAC)
auto libName = "lib" + p.libName + ".dylib";
#else
auto libName = "lib" + p.libName + ".so";
#endif