1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Projucer: fixed a suffix error when generating linux host projects

This commit is contained in:
jules 2016-04-20 10:04:48 +01:00
parent 8462849955
commit e130ce1428

View file

@ -306,15 +306,22 @@ void ProjectExporter::addSettingsForProjectType (const ProjectType& type)
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);
}
}