Browse Source

Projucer: fixed a suffix error when generating linux host projects

tags/2021-05-28
jules 9 years ago
parent
commit
e130ce1428
1 changed files with 13 additions and 6 deletions
  1. +13
    -6
      extras/Projucer/Source/Project Saving/jucer_ProjectExporter.cpp

+ 13
- 6
extras/Projucer/Source/Project Saving/jucer_ProjectExporter.cpp View File

@@ -306,15 +306,22 @@ void ProjectExporter::addSettingsForProjectType (const ProjectType& type)
void ProjectExporter::addVSTPathsIfPluginOrHost() void ProjectExporter::addVSTPathsIfPluginOrHost()
{ {
if (supportsVST() && (project.shouldBuildVST().getValue() || project.isVSTPluginHost()))
if (supportsVST())
{ {
makefileTargetSuffix = ".so";
addVSTFolderToPath (false);
if (project.shouldBuildVST().getValue())
makefileTargetSuffix = ".so";
if (project.shouldBuildVST().getValue() || project.isVSTPluginHost())
addVSTFolderToPath (false);
} }
if (supportsVST3() && (project.shouldBuildVST3().getValue() || project.isVST3PluginHost()))
if (supportsVST3())
{ {
makefileTargetSuffix = ".so";
addVSTFolderToPath (true);
if (project.shouldBuildVST3().getValue())
makefileTargetSuffix = ".so";
if (project.shouldBuildVST3().getValue() || project.isVST3PluginHost())
addVSTFolderToPath (true);
} }
} }


Loading…
Cancel
Save